-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (51 loc) · 1.39 KB
/
Copy pathdocker-compose.yml
File metadata and controls
55 lines (51 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: "3.9"
services:
argos:
build:
context: .
dockerfile: Dockerfile
container_name: argos-core
environment:
ARGOS_NEO4J_URI: bolt://neo4j:7687
ARGOS_NEO4J_USER: neo4j
ARGOS_NEO4J_PASSWORD: ${NEO4J_PASSWORD:-changeme}
# Point this at a SYNIZ instance you run yourself (see hermandoronin/SYNIZ).
ARGOS_SYNIZ_WS_ENDPOINT: ${ARGOS_SYNIZ_WS_ENDPOINT:-ws://localhost:8000/ws}
ARGOS_EDGE_EXECUTION_PROVIDER: CPUExecutionProvider
# Provide these yourself: ONNX models are not distributed with this repo,
# and config.yaml is created from config.example.yaml.
volumes:
- ./models:/app/models:ro
- ./config.yaml:/app/config.yaml:ro
ports:
- "8000:8000"
depends_on:
neo4j:
condition: service_healthy
networks:
- argos-net
restart: unless-stopped
neo4j:
image: neo4j:5-community
container_name: argos-neo4j
environment:
NEO4J_AUTH: neo4j/${NEO4J_PASSWORD:-changeme}
NEO4J_PLUGINS: '["apoc"]'
ports:
- "7474:7474"
- "7687:7687"
volumes:
- neo4j-data:/data
healthcheck:
test: ["CMD-SHELL", "cypher-shell -u neo4j -p ${NEO4J_PASSWORD:-changeme} 'RETURN 1'"]
interval: 10s
timeout: 5s
retries: 5
networks:
- argos-net
restart: unless-stopped
volumes:
neo4j-data:
networks:
argos-net:
driver: bridge