Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat: VITE_API_URL instead of localhost

dextmorgnd57aac64c055
diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
index 1901ce91..9cdd51ff 100644
--- a/docker-compose.dev.yml
+++ b/docker-compose.dev.yml
@@ -95,7 +95,7 @@ services:
neo4j:
condition: service_healthy
healthcheck:
- test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
+ test: ["CMD-SHELL", "curl -f \"$VITE_API_URL/health\" || exit 1"]
interval: 10s
timeout: 5s
retries: 5
diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml
index 846a014e..f01a81a7 100644
--- a/docker-compose.prod.yml
+++ b/docker-compose.prod.yml
@@ -92,7 +92,7 @@ services:
neo4j:
condition: service_healthy
healthcheck:
- test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
+ test: ["CMD-SHELL", "curl -f \"$VITE_API_URL/health\" || exit 1"]
interval: 10s
timeout: 5s
retries: 5