forked from fireform-core/FireForm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 812 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (40 loc) · 812 Bytes
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
services:
ollama:
image: ollama/ollama:latest
container_name: fireform-ollama
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
networks:
- fireform-network
healthcheck:
test: ["CMD-SHELL", "ollama ps"]
interval: 10s
timeout: 5s
retries: 3
start_period: 30s
app:
build:
context: .
dockerfile: Dockerfile
container_name: fireform-app
depends_on:
ollama:
condition: service_healthy
volumes:
- .:/app
environment:
- PYTHONUNBUFFERED=1
- PYTHONPATH=/app/src
- OLLAMA_HOST=http://ollama:11434
networks:
- fireform-network
stdin_open: true
tty: true
volumes:
ollama_data:
driver: local
networks:
fireform-network:
driver: bridge