-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
45 lines (42 loc) · 1.14 KB
/
docker-compose.dev.yml
File metadata and controls
45 lines (42 loc) · 1.14 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
services:
db:
image: postgres:16
container_name: abyss-db
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
ports:
- "${POSTGRES_PORT:-5433}:5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 5
coturn:
image: coturn/coturn:latest
container_name: abyss-turn
network_mode: host
command: ["--log-file=stdout", "-c", "/etc/turnserver.conf"]
volumes:
- ./turnserver.conf:/etc/turnserver.conf:ro
restart: unless-stopped
livekit:
image: livekit/livekit-server:v1.9
container_name: abyss-livekit
profiles: ["livekit"]
command: --config /etc/livekit.yaml --dev
ports:
- "7880:7880"
- "7881:7881"
- "7882:7882/udp"
- "50000-50100:50000-50100/udp"
volumes:
- ./livekit.yaml:/etc/livekit.yaml:ro
environment:
LIVEKIT_KEYS: "${LIVEKIT_API_KEY}: ${LIVEKIT_API_SECRET}"
restart: unless-stopped
volumes:
pgdata: