If you would be so kind as to assist me.
I am trying to set up 3 servers to run as a HA cluster behind an nginX-proxy-manager.
I do not know which volumes is suppose to be on a DFS share to be a shared volume mapping between them.
I am struggling to find the correct documentation. any support would be greatly appreciated. my YML file for node 1 looks a follows:
version: '3.8'
services:
change-vol-ownership:
image: my-images/jbpm-server-full:7.72.0.Final_SQL
user: "root"
restart: "no"
command: sh -c "chown -R 1000:1000 /opt/jboss && chmod -R 755 /opt/jboss"
volumes:
- /opt/wildfly_git_data:/opt/jboss/wildfly/bin/.niogit
- wildfly_logs:/opt/jboss/wildfly/standalone/log
- wildfly_configuration:/opt/jboss/wildfly/standalone/configuration
- /opt/maven-repo:/opt/jboss/.m2/repository
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
jbpm1:
image: my-images/jbpm-server-full:7.72.0.Final_SQL
hostname: jbpm1
restart: unless-stopped
ports:
- "8180:8080"
environment:
JBPM_DB_DRIVER: "mssql"
JBPM_DB_HOST: "my-MSSQL.devlocal"
JBPM_DB_PORT: "1433"
JBPM_DB_NAME: "jbpm_cluster"
JBPM_DB_USER: "jbpm"
JBPM_DB_PASSWORD: "password"
KIE_SERVER_ID: "jbpm-server-1"
JAVA_OPTS: >
-Djboss.server.default.config=standalone-full-ha.xml
-
Djboss.node.name=jbpm1
-Dorg.uberfire.cluster.zk=zk://app1:2181,app2.devlocal:2181,app3.devlocal:2181
-
Dorg.uberfire.cluster.id=jbpm-ha-cluster
depends_on:
change-vol-ownership:
condition: service_completed_successfully
volumes:
- /opt/wildfly_git_data:/opt/jboss/wildfly/bin/.niogit
- wildfly_logs:/opt/jboss/wildfly/standalone/log
- wildfly_configuration:/opt/jboss/wildfly/standalone/configuration
- /opt/maven-repo:/opt/jboss/.m2/repository
healthcheck:
test: ["CMD-SHELL", "curl -f
http://localhost:8080 || exit 1"]
interval: 30s
timeout: 10s
retries: 5
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
networks:
- cluster_net
volumes:
wildfly_logs:
wildfly_configuration:
networks:
cluster_net:
driver: bridge