Refactor compose and swarm files to use 'postgres_db' instead of 'postgres'
This commit is contained in:
+2
-2
@@ -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:
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user