Loading deploy/.env +6 −1 Original line number Diff line number Diff line GEOSERVER_PORT=8080 CLUSTER_NAME="geoserver-cluster" HAZELCAST_PORT=5701 CLUSTER_NAME=geoserver-cluster CLUSTER_PASSWORD="changeme" SYNC_MODE=event SYNC_DELAY=0 SESSION_STICKY=true CLUSTER_DISCOVERY_URL=tasks.geoserver deploy/docker-compose.dev.yml +4 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,10 @@ version: '3.5' services: geoserver: ports: - target: ${GEOSERVER_PORT} published: 8095 mode: host deploy: mode: replicated replicas: 1 Loading deploy/docker-compose.tmpl.yml +9 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,15 @@ services: geoserver: image: ${IMAGE_NAME}:${IMAGE_TAG:-latest} environment: - -DPROXY_BASE_URL=https://${GEOSERVER_SUBDOMAIN}.${PUBLIC_HOSTNAME}/geoserver - GEOSERVER_PORT - HAZELCAST_PORT - CLUSTER_NAME - CLUSTER_PASSWORD - SYNC_MODE - SYNC_DELAY - SESSION_STICKY - CLUSTER_DISCOVERY_URL - JAVA_OPTS=-DPROXY_BASE_URL=https://${GEOSERVER_SUBDOMAIN}.${PUBLIC_HOSTNAME}/geoserver networks: - gis-net - postgres-net Loading scripts/hazelcast.template +2 −2 Original line number Diff line number Diff line Loading @@ -14,11 +14,11 @@ </properties> <network> <port auto-increment="true">${HAZELCAST_PORT}</port> <port auto-increment="false">${HAZELCAST_PORT}</port> <join> <multicast enabled="false"></multicast> <tcp-ip enabled="true"> <hostname>geoserver</hostname> <hostname>${CLUSTER_DISCOVERY_URL}</hostname> </tcp-ip> </join> </network> Loading Loading
deploy/.env +6 −1 Original line number Diff line number Diff line GEOSERVER_PORT=8080 CLUSTER_NAME="geoserver-cluster" HAZELCAST_PORT=5701 CLUSTER_NAME=geoserver-cluster CLUSTER_PASSWORD="changeme" SYNC_MODE=event SYNC_DELAY=0 SESSION_STICKY=true CLUSTER_DISCOVERY_URL=tasks.geoserver
deploy/docker-compose.dev.yml +4 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,10 @@ version: '3.5' services: geoserver: ports: - target: ${GEOSERVER_PORT} published: 8095 mode: host deploy: mode: replicated replicas: 1 Loading
deploy/docker-compose.tmpl.yml +9 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,15 @@ services: geoserver: image: ${IMAGE_NAME}:${IMAGE_TAG:-latest} environment: - -DPROXY_BASE_URL=https://${GEOSERVER_SUBDOMAIN}.${PUBLIC_HOSTNAME}/geoserver - GEOSERVER_PORT - HAZELCAST_PORT - CLUSTER_NAME - CLUSTER_PASSWORD - SYNC_MODE - SYNC_DELAY - SESSION_STICKY - CLUSTER_DISCOVERY_URL - JAVA_OPTS=-DPROXY_BASE_URL=https://${GEOSERVER_SUBDOMAIN}.${PUBLIC_HOSTNAME}/geoserver networks: - gis-net - postgres-net Loading
scripts/hazelcast.template +2 −2 Original line number Diff line number Diff line Loading @@ -14,11 +14,11 @@ </properties> <network> <port auto-increment="true">${HAZELCAST_PORT}</port> <port auto-increment="false">${HAZELCAST_PORT}</port> <join> <multicast enabled="false"></multicast> <tcp-ip enabled="true"> <hostname>geoserver</hostname> <hostname>${CLUSTER_DISCOVERY_URL}</hostname> </tcp-ip> </join> </network> Loading