-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (62 loc) · 1.17 KB
/
Copy pathdocker-compose.yml
File metadata and controls
67 lines (62 loc) · 1.17 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
58
59
60
61
62
63
64
65
66
67
services:
streamlit:
build:
context: ./app
ports:
- '8501:8501'
networks:
- internal-net
volumes:
- ./app:/app
- python-deps:/root/.cache/pip
working_dir: /app
restart: unless-stopped
depends_on:
- fastapi
- neo4j
neo4j:
image: neo4j:latest
environment:
- NEO4J_AUTH=neo4j/strongpassword
ports:
- "7474:7474"
- "7687:7687"
volumes:
- neo4j_data:/data
- ./data:/var/lib/neo4j/import
networks:
- internal-net
restart: unless-stopped
fastapi:
build:
context: ./fastapi
ports:
- '8000:8000'
networks:
- internal-net
volumes:
- ./fastapi:/app
- python-deps:/root/.cache/pip
working_dir: /app
restart: unless-stopped
depends_on:
- neo4j
ollama:
image: ollama/ollama:latest
ports:
- '7869:11434'
networks:
- internal-net
volumes:
- ./ollama:/app/ollama
environment:
- OLLAMA_MODELS=/app/ollama/models
restart: unless-stopped
depends_on:
- neo4j
networks:
internal-net:
driver: bridge
volumes:
python-deps: {}
neo4j_data: {}