[fix]: correct postgres volume mount path to /var/lib/postgresql
This commit is contained in:
parent
614fc12bf2
commit
7f536cb617
|
|
@ -26,7 +26,7 @@ services:
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?POSTGRES_PASSWORD required}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?POSTGRES_PASSWORD required}
|
||||||
POSTGRES_INITDB_ARGS: "-E UTF8 --locale=C"
|
POSTGRES_INITDB_ARGS: "-E UTF8 --locale=C"
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql
|
||||||
networks:
|
networks:
|
||||||
- vigil_network
|
- vigil_network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "${POSTGRES_HOST_PORT:-16969}:5432"
|
- "${POSTGRES_HOST_PORT:-16969}:5432"
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_dev:/var/lib/postgresql/data
|
- postgres_dev:/var/lib/postgresql
|
||||||
networks:
|
networks:
|
||||||
- vigil_dev
|
- vigil_dev
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
@ -72,6 +72,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "${BACKEND_HOST_PORT:-36969}:8000"
|
- "${BACKEND_HOST_PORT:-36969}:8000"
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./backend:/app
|
||||||
- model_data_dev:/app/data/models
|
- model_data_dev:/app/data/models
|
||||||
- nginx_logs_dev:/var/log/nginx
|
- nginx_logs_dev:/var/log/nginx
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
@ -95,6 +96,7 @@ services:
|
||||||
container_name: vigil-frontend-dev
|
container_name: vigil-frontend-dev
|
||||||
environment:
|
environment:
|
||||||
VITE_API_TARGET: http://backend:8000
|
VITE_API_TARGET: http://backend:8000
|
||||||
|
CI: "true"
|
||||||
ports:
|
ports:
|
||||||
- "${FRONTEND_HOST_PORT:-46969}:5173"
|
- "${FRONTEND_HOST_PORT:-46969}:5173"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue