-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
72 lines (66 loc) · 1.67 KB
/
compose.yaml
File metadata and controls
72 lines (66 loc) · 1.67 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
name: dragonchatserver
services:
dragonchatserver:
image: ghcr.io/dragon-chat/dragonchatserver:master
networks:
- external_network
- internal_network
ports:
- 127.0.0.1:25282:8080
restart: unless-stopped
environment:
LIVEKIT_HOST: ${LIVEKIT_HOST}
LIVEKIT_API_KEY: ${LIVEKIT_API_KEY}
LIVEKIT_API_SECRET: ${LIVEKIT_API_SECRET}
DATABASE_URL: ${DATABASE_URL}
depends_on:
- postgres
postgres:
image: postgres:18
volumes:
- ./postgres_data:/var/lib/postgresql
networks:
- internal_network
environment:
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_INITDB_ARGS: '--data-checksums'
healthcheck:
test:
['CMD', 'pg_isready', '-U', "postgres", '-d', "postgres"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
livekit:
image: livekit/livekit-server:latest
command: --config /etc/livekit.yaml
restart: unless-stopped
network_mode: "host"
volumes:
- ./livekit/livekit.yaml:/etc/livekit.yaml
depends_on:
- redis
redis:
image: redis:7-alpine
command: redis-server /etc/redis.conf
restart: unless-stopped
network_mode: "host"
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
volumes:
- ./livekit/redis.conf:/etc/redis.conf
- ./redis_data:/data
ingress:
image: livekit/ingress:latest
restart: unless-stopped
environment:
- INGRESS_CONFIG_FILE=/etc/ingress.yaml
network_mode: "host"
volumes:
- ./livekit/ingress.yaml:/etc/ingress.yaml
depends_on:
- redis
networks:
external_network:
internal_network:
internal: true