Visualizando todo grafo com anzograph
This commit is contained in:
@@ -34,9 +34,16 @@ services:
|
||||
- SPARQL_READY_RETRIES=${SPARQL_READY_RETRIES:-30}
|
||||
- SPARQL_READY_DELAY_S=${SPARQL_READY_DELAY_S:-4}
|
||||
- SPARQL_READY_TIMEOUT_S=${SPARQL_READY_TIMEOUT_S:-10}
|
||||
- EDGE_BATCH_SIZE=${EDGE_BATCH_SIZE:-100000}
|
||||
- FREE_OS_MEMORY_AFTER_SNAPSHOT=${FREE_OS_MEMORY_AFTER_SNAPSHOT:-false}
|
||||
- LOG_SNAPSHOT_TIMINGS=${LOG_SNAPSHOT_TIMINGS:-false}
|
||||
depends_on:
|
||||
- owl_imports_combiner
|
||||
- anzograph
|
||||
owl_imports_combiner:
|
||||
condition: service_completed_successfully
|
||||
anzograph:
|
||||
condition: service_started
|
||||
volumes:
|
||||
- ./data:/data:Z
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-fsS", "http://localhost:8000/api/health"]
|
||||
interval: 5s
|
||||
@@ -53,15 +60,26 @@ services:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
depends_on:
|
||||
- backend
|
||||
# Docker Compose v1 doesn't support depends_on:condition. Do an explicit wait here.
|
||||
command: sh -c "until wget -qO- http://backend:8000/api/health >/dev/null 2>&1; do echo 'waiting for backend...'; sleep 1; done; npm run dev -- --host --port 5173"
|
||||
backend:
|
||||
condition: service_healthy
|
||||
|
||||
anzograph:
|
||||
image: cambridgesemantics/anzograph:latest
|
||||
container_name: anzograph
|
||||
mem_limit: 20g
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8443:8443"
|
||||
volumes:
|
||||
- ./data:/opt/shared-files:Z
|
||||
# Persist AnzoGraph state across container recreation (EULA acceptance, machine-id, settings, persistence).
|
||||
- anzograph_app_home:/opt/anzograph/app-home
|
||||
- anzograph_persistence:/opt/anzograph/persistence
|
||||
- anzograph_config:/opt/anzograph/config
|
||||
- anzograph_internal:/opt/anzograph/internal
|
||||
|
||||
volumes:
|
||||
anzograph_app_home:
|
||||
anzograph_persistence:
|
||||
anzograph_config:
|
||||
anzograph_internal:
|
||||
|
||||
Reference in New Issue
Block a user