-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
75 lines (71 loc) · 2.03 KB
/
docker-compose.yml
File metadata and controls
75 lines (71 loc) · 2.03 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
services:
# PostgreSQL database - the primary data store for users, servers, channels, messages
postgres:
image: postgres:16-alpine
container_name: opencorde-postgres
ports:
- "5434:5432"
environment:
POSTGRES_USER: opencorde
POSTGRES_PASSWORD: opencorde
POSTGRES_DB: opencorde
volumes:
- opencorde_pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U opencorde"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
# Redis cache - for session management, rate limiting, real-time presence
redis:
image: redis:7-alpine
container_name: opencorde-redis
ports:
- "6379:6379"
volumes:
- opencorde_redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
# MinIO object storage - file uploads, media storage, attachments
minio:
image: minio/minio:latest
container_name: opencorde-minio
ports:
- "9010:9000" # MinIO API
- "9011:9001" # MinIO Console
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: opencorde
MINIO_ROOT_PASSWORD: opencorde-secret-change-me
volumes:
- opencorde_minio:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
# LiveKit media server - video/audio conferencing, voice channels
livekit:
image: livekit/livekit-server:latest
container_name: opencorde-livekit
ports:
- "7880:7880" # WebSocket
- "7881:7881" # TCP RTC
- "50000-50100:50000-50100/udp" # UDP RTC media
command: --config /etc/livekit.yaml --dev
volumes:
- ./deploy/livekit/livekit.yaml:/etc/livekit.yaml
restart: unless-stopped
volumes:
opencorde_pgdata:
driver: local
opencorde_redis:
driver: local
opencorde_minio:
driver: local