-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (68 loc) · 1.76 KB
/
docker-compose.yml
File metadata and controls
72 lines (68 loc) · 1.76 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
services:
postgres:
image: pgvector/pgvector:pg16
container_name: louis-postgres
restart: unless-stopped
environment:
POSTGRES_USER: louis
POSTGRES_PASSWORD: louis
POSTGRES_DB: louis
ports:
# Host port 5433 to avoid conflict with other local Postgres instances.
# Inside the container Postgres still listens on 5432.
- "5433:5432"
volumes:
- louis-postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U louis -d louis"]
interval: 5s
timeout: 5s
retries: 10
redis:
image: redis:7-alpine
container_name: louis-redis
restart: unless-stopped
ports:
- "6379:6379"
volumes:
- louis-redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 10
minio:
image: minio/minio:latest
container_name: louis-minio
restart: unless-stopped
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: louis
MINIO_ROOT_PASSWORD: louis-dev-only
ports:
- "9000:9000"
- "9001:9001"
volumes:
- louis-minio:/data
healthcheck:
test: ["CMD", "mc", "ready", "local"]
interval: 5s
timeout: 5s
retries: 10
# Gotenberg : LibreOffice headless exposé via HTTP, utilisé pour le rendu
# fidèle DOCX → PDF du DocPanel. ~300 MB d'image. Activé côté app via
# GOTENBERG_URL=http://localhost:3001 dans .env.
gotenberg:
image: gotenberg/gotenberg:8
container_name: louis-gotenberg
restart: unless-stopped
command:
- "gotenberg"
- "--api-port=3000"
- "--api-timeout=60s"
ports:
- "3001:3000"
volumes:
louis-postgres:
louis-redis:
louis-minio: