-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (53 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
57 lines (53 loc) · 1.16 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
56
57
services:
neo4j:
image: neo4j:5
ports:
- "7474:7474" # Browser
- "7687:7687" # Bolt
container_name: ecosystem-neo4j
environment:
NEO4J_AUTH: neo4j/test1234
volumes:
- neo4j_data:/data
networks:
- ecosystem_net
healthcheck:
test: [ "CMD", "cypher-shell", "-u", "neo4j", "-p", "test1234", "RETURN 1" ]
interval: 5s
timeout: 10s
retries: 10
start_period: 10s
backend:
build:
context: .
dockerfile: ecosystem_analyzer/Dockerfile
ports:
- "8000:8000"
container_name: ecosystem-backend
depends_on:
neo4j:
condition: service_healthy
environment:
BACKEND_URL: http://backend:8000
BACKEND_TIMEOUT: "30"
NEO4J_URI: bolt://neo4j:7687
NEO4J_USER: neo4j
NEO4J_PASSWORD: test1234
networks:
- ecosystem_net
frontend:
build: ./UI
container_name: ecosystem-frontend
depends_on:
- backend
ports:
- "8501:8501"
networks:
- ecosystem_net
environment:
BACKEND_BASE_URL: http://backend:8000
volumes:
neo4j_data:
networks:
ecosystem_net:
driver: bridge