From 963730dd98974fc41bc0e9e22e17ee12e3880c94 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 11 Dec 2017 04:20:16 +0000 Subject: [PATCH 1/3] Update env.list --- wild-docker-files/env.list | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wild-docker-files/env.list b/wild-docker-files/env.list index 690f28a..196c1ba 100755 --- a/wild-docker-files/env.list +++ b/wild-docker-files/env.list @@ -4,7 +4,7 @@ TOMCAT_2_PORT_8080_TCP_ADDR=wild2 TOMCAT_3_PORT_8080_TCP_ADDR=wild3 # special environment variables -TOMCAT_PATH=/apptest +TOMCAT_PATH=/zkweb TOMCAT_REMOTE_PORT=8080 -TOMCAT_REMOTE_PATH=/apptest +TOMCAT_REMOTE_PATH=/zkweb TOMCAT_HOSTNAME=wild-balancer From cedb2faea9a102e16ee19d7f0b833a169c2dd73d Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 11 Dec 2017 06:18:00 +0000 Subject: [PATCH 2/3] Add new file --- wild-docker-files/standalone-ha-4.xml | 468 ++++++++++++++++++++++++++ 1 file changed, 468 insertions(+) create mode 100644 wild-docker-files/standalone-ha-4.xml diff --git a/wild-docker-files/standalone-ha-4.xml b/wild-docker-files/standalone-ha-4.xml new file mode 100644 index 0000000..a470be3 --- /dev/null +++ b/wild-docker-files/standalone-ha-4.xml @@ -0,0 +1,468 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + h2 + + sa + sa + + + + + org.h2.jdbcx.JdbcDataSource + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${jboss.bind.address:127.0.0.1} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 3620f5f0f51cb446debf6af0b781d7520e8fe2b4 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 12 Dec 2017 01:20:27 +0000 Subject: [PATCH 3/3] Update Dockerfile --- wild-docker-files/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/wild-docker-files/Dockerfile b/wild-docker-files/Dockerfile index 4998f6a..0481a83 100755 --- a/wild-docker-files/Dockerfile +++ b/wild-docker-files/Dockerfile @@ -12,6 +12,7 @@ ADD ${APP_FILE} /opt/jboss/wildfly/standalone/deployments/${APP_FILE} ADD standalone-ha-1.xml /opt/jboss/wildfly/standalone/configuration/standalone-ha-1.xml ADD standalone-ha-2.xml /opt/jboss/wildfly/standalone/configuration/standalone-ha-2.xml ADD standalone-ha-3.xml /opt/jboss/wildfly/standalone/configuration/standalone-ha-3.xml +ADD standalone-ha-4.xml /opt/jboss/wildfly/standalone/configuration/standalone-ha-4.xml # Add user for adminstration purpose RUN /opt/jboss/wildfly/bin/add-user.sh admin admin123 --silent