Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can β€” learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company πŸ‘‡

[fix]: correct postgres volume mount path to /var/lib/postgresql

surya7f536cb617c2
diff --git a/PROJECTS/advanced/ai-threat-detection/compose.yml b/PROJECTS/advanced/ai-threat-detection/compose.yml
index 86a1d593..b7894d3e 100644
--- a/PROJECTS/advanced/ai-threat-detection/compose.yml
+++ b/PROJECTS/advanced/ai-threat-detection/compose.yml
@@ -26,7 +26,7 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?POSTGRES_PASSWORD required}
POSTGRES_INITDB_ARGS: "-E UTF8 --locale=C"
volumes:
- - postgres_data:/var/lib/postgresql/data
+ - postgres_data:/var/lib/postgresql
networks:
- vigil_network
healthcheck:
diff --git a/PROJECTS/advanced/ai-threat-detection/dev.compose.yml b/PROJECTS/advanced/ai-threat-detection/dev.compose.yml
index 3575a9aa..91aea42e 100644
--- a/PROJECTS/advanced/ai-threat-detection/dev.compose.yml
+++ b/PROJECTS/advanced/ai-threat-detection/dev.compose.yml
@@ -25,7 +25,7 @@ services:
ports:
- "${POSTGRES_HOST_PORT:-16969}:5432"
volumes:
- - postgres_dev:/var/lib/postgresql/data
+ - postgres_dev:/var/lib/postgresql
networks:
- vigil_dev
healthcheck:
@@ -72,6 +72,7 @@ services:
ports:
- "${BACKEND_HOST_PORT:-36969}:8000"
volumes:
+ - ./backend:/app
- model_data_dev:/app/data/models
- nginx_logs_dev:/var/log/nginx
depends_on:
@@ -95,6 +96,7 @@ services:
container_name: vigil-frontend-dev
environment:
VITE_API_TARGET: http://backend:8000
+ CI: "true"
ports:
- "${FRONTEND_HOST_PORT:-46969}:5173"
volumes: