-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (57 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
61 lines (57 loc) · 1.35 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
services:
postgresql:
image: pgvector/pgvector:pg16
container_name: csp_postgresql
env_file:
- env.d/postgresql
environment:
# Avoid a log error when starting the itou_postgres container:
# > Role "root" does not exist.
# Without this variable, the default Unix account ('root')
# is used automatically when starting postgres.
# https://www.postgresql.org/docs/current/libpq-envars.html
- PGUSER=postgres
- PGPASSWORD=password
ports:
- "${POSTGRES_PORT:-5432}:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test:
- "CMD-SHELL"
- "pg_isready"
- "-d"
- "$${POSTGRES_DB}"
interval: 10s
timeout: 5s
retries: 5
qdrant:
image: qdrant/qdrant:latest
restart: always
container_name: csp_qdrant
ports:
- "6333:6333"
expose:
- 6333
configs:
- source: qdrant_config
target: /qdrant/config/production.yaml
volumes:
- qdrant_data:/qdrant/storage
redis:
image: redis
container_name: csp_redis
restart: unless-stopped
env_file:
- env.d/redis
ports:
- "127.0.0.1:${REDIS_PORT:-6379}:6379"
volumes:
postgres_data:
driver: local
qdrant_data:
driver: local
configs:
qdrant_config:
content: |
log_level: INFO