mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 16:36:00 +00:00
fix: update PostgreSQL host to static IP and disable Traefik for PostgreSQL service
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@ services:
|
||||
depends_on:
|
||||
- postgres_db
|
||||
environment:
|
||||
DATABASE__HOSTNAME: ${DATABASE__HOSTNAME}
|
||||
DATABASE__HOSTNAME: 192.168.50.220
|
||||
DATABASE__USERNAME: ${POSTGRES_USER}
|
||||
DATABASE__PASSWORD: ${POSTGRES_PASSWORD}
|
||||
DATABASE__PORT: ${DATABASE__PORT}
|
||||
@@ -176,7 +176,7 @@ services:
|
||||
constraints:
|
||||
- node.labels.postgres.postgres_data == true
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.enable=false
|
||||
- traefik.swarm.network=traefik-public
|
||||
- traefik.constraint-label=traefik-public
|
||||
- traefik.tcp.routers.postgres.entrypoints=postgres-socket
|
||||
|
||||
Reference in New Issue
Block a user