-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-cpu.yaml
More file actions
54 lines (50 loc) · 964 Bytes
/
docker-compose-cpu.yaml
File metadata and controls
54 lines (50 loc) · 964 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
44
45
46
47
48
49
50
51
52
53
54
services:
backend:
depends_on:
- surrealdb
- redis
- ollama
build:
context: .
dockerfile: ./build/package/dev/backend.dev.dockerfile
volumes:
- ./:/app
ports:
- "8090:8090"
environment:
- GO_ENV=development
networks:
- app-network
ollama:
build:
context: .
dockerfile: ./build/package/ollama.dockerfile
ports:
- "11434:11434"
environment:
- OLLAMA_KEEP_ALIVE=6m
networks:
- app-network
surrealdb:
build:
context: .
dockerfile: ./build/package/surrealdb.dockerfile
ports:
- "8000:8000"
volumes:
- ./schemas:/docker-entrypoint-initdb.d
networks:
- app-network
redis:
build:
context: .
dockerfile: ./build/package/redis.dockerfile
ports:
- "6379:6379"
env_file:
- ./.env
networks:
- app-network
networks:
app-network:
driver: bridge