updating volume path and deploy--constraints.
This commit is contained in:
@@ -52,7 +52,7 @@ services:
|
||||
# - APP_SECRET_FILE=/run/secrets/app_secret
|
||||
# - NEXTAUTH_SECRET_FILE=/run/secrets/nextauth_secret
|
||||
volumes:
|
||||
- proxcenter_data:/app/data
|
||||
- ${DockerData}/proxcenter/frontend_data:/app/data
|
||||
# secrets:
|
||||
# - app_secret
|
||||
# - nextauth_secret
|
||||
@@ -71,7 +71,7 @@ services:
|
||||
placement:
|
||||
constraints:
|
||||
# Keep the node-local proxcenter_data volume on the intended primary node.
|
||||
- node.labels.proxcenter.storage == true
|
||||
- node.platform.os == linux
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
@@ -97,7 +97,7 @@ services:
|
||||
- POSTGRES_DB=${POSTGRES_DB:-proxcenter}
|
||||
- POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ${DockerData}/proxcenter/postgres_data:/var/lib/postgresql/data
|
||||
# Port is intentionally not published. Postgres is reachable only
|
||||
# over the internal overlay network. Uncomment to expose for debugging:
|
||||
# ports:
|
||||
@@ -129,7 +129,7 @@ services:
|
||||
placement:
|
||||
constraints:
|
||||
# Keep the node-local postgres_data volume on the intended primary node.
|
||||
- node.labels.proxcenter.storage == true
|
||||
- node.platform.os == linux
|
||||
|
||||
# ========================================
|
||||
# Networks
|
||||
|
||||
Reference in New Issue
Block a user