fixes?
This commit is contained in:
@@ -19,7 +19,7 @@ services:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ../scripts/init_database:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- "${POSTGRES_PORT:-5432}:5432"
|
||||
- "${POSTGRES_PORT:-5433}:5432"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
@@ -66,7 +66,7 @@ services:
|
||||
context: ../frontend
|
||||
dockerfile: ../docker/Dockerfile.frontend
|
||||
volumes:
|
||||
- ../frontend/dist:/app/dist
|
||||
- frontend_dist:/app/dist
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
@@ -80,7 +80,7 @@ services:
|
||||
- "${FRONTEND_PORT:-8080}:80"
|
||||
volumes:
|
||||
- ../nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ../frontend/dist:/usr/share/nginx/html:ro
|
||||
- frontend_dist:/usr/share/nginx/html:ro
|
||||
depends_on:
|
||||
frontend:
|
||||
condition: service_completed_successfully
|
||||
@@ -90,6 +90,7 @@ services:
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
frontend_dist:
|
||||
|
||||
networks:
|
||||
app-network:
|
||||
|
||||
Reference in New Issue
Block a user