-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (75 loc) · 1.49 KB
/
Copy pathdocker-compose.yml
File metadata and controls
82 lines (75 loc) · 1.49 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
services:
db:
image: pgvector/pgvector:pg17
container_name: pgvector-db
restart: always
environment:
POSTGRES_USER: "${DB_USER}"
POSTGRES_PASSWORD: "${DB_PASSWORD}"
POSTGRES_DB: "${DB_NAME}"
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
web:
build: .
container_name: python_app
restart: always
ports:
- "8000:8000"
env_file:
- .env
depends_on:
- db
- ollama
# for development mode
volumes:
- ./:/app
pgadmin:
profiles:
- debug
image: dpage/pgadmin4:latest
container_name: pgadmin_web
restart: unless-stopped
env_file:
- .env.pgadmin
ports:
- "5050:80"
volumes:
- pgadmin_data:/var/lib/pgadmin
depends_on:
- db
ollama:
image: ollama/ollama:latest
container_name: ollama
restart: unless-stopped
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
gpus: all
searxng:
image: docker.io/searxng/searxng:latest
container_name: searxng
ports:
- "8080:8080"
env_file:
- ./.env.searxng
volumes:
- ./docker/searxng:/etc/searxng
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
depends_on:
- valkey
valkey:
image: docker.io/valkey/valkey:8-alpine
container_name: searxng-valkey
restart: unless-stopped
volumes:
postgres_data:
pgadmin_data:
ollama_data: