-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (49 loc) · 982 Bytes
/
docker-compose.yml
File metadata and controls
54 lines (49 loc) · 982 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
version: '3.8'
services:
thelab:
# build: .
image: ghcr.io/betterandbetterii/the-lab:latest
volumes:
- ./tmp/persist:/app/tmp/persist
ports:
- "8003:8000"
env_file:
# - .env
- docker.env
depends_on:
- db
- redis
networks:
- app_network
restart: always
db:
image: pgvector/pgvector:pg17
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=ai_doc_system
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "25673:5432"
networks:
- app_network
restart: always
redis:
image: redis:7-alpine
command: redis-server --requirepass redis
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD}
restart: always
ports:
- "4787:6379"
volumes:
- redis_data:/data
networks:
- app_network
volumes:
postgres_data:
redis_data:
networks:
app_network:
driver: bridge