Refactor compose and swarm files to use 'postgres_db' instead of 'postgres'

This commit is contained in:
2024-06-03 19:34:39 +08:00
parent 743d5a898c
commit 16d137ff59
7 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ services:
- pgadmin:/var/lib/pgadmin
restart: unless-stopped
depends_on:
- postgres
- postgres_db
expose:
- 8080
networks:
@@ -181,7 +181,7 @@ services:
- pgadmin_data:/var/lib/pgadmin
restart: unless-stopped
depends_on:
- postgres
- postgres_db
expose:
- 80
networks:
+1 -1
View File
@@ -33,7 +33,7 @@ services:
- "traefik.http.routers.api_server.service=api_server_service"
- "traefik.http.services.api_server_service.loadbalancer.server.port=8000"
postgres:
postgres_db:
image: postgres
environment:
POSTGRES_DB: ${POSTGRES_DB}