diff --git a/nodes/heimdall/zipline/compose.yaml b/nodes/heimdall/zipline/compose.yaml index e560c32..870d92c 100644 --- a/nodes/heimdall/zipline/compose.yaml +++ b/nodes/heimdall/zipline/compose.yaml @@ -1,5 +1,5 @@ services: - postgresql: + zipline-postgresql: image: postgres:16 container_name: zipline-postgresql restart: unless-stopped @@ -28,9 +28,9 @@ services: networks: - proxy-net environment: - - DATABASE_URL=postgres://${POSTGRESQL_USER:-zipline}:${POSTGRESQL_PASSWORD}@postgresql:5432/${POSTGRESQL_DB:-zipline} + - DATABASE_URL=postgres://${POSTGRESQL_USER:-zipline}:${POSTGRESQL_PASSWORD}@zipline-postgresql:5432/${POSTGRESQL_DB:-zipline} depends_on: - postgresql: + zipline-postgresql: condition: service_healthy volumes: - '/mnt/appdata/zipline/uploads:/zipline/uploads'