This repository has been archived by the owner on Oct 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
86 lines (81 loc) · 1.8 KB
/
docker-compose.yml
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
76
77
78
79
80
81
82
83
84
85
86
version: "3"
services:
livestream:
image: ghcr.io/sb-im/sphinx:debug-amd64
container_name: livestream
command:
- --debug
- livestream
- -c
- /etc/skywalker/config.toml
ports:
- "5004:5004/udp"
- "5005:5005/udp"
volumes:
- ../../sphinx/config/config.docker.toml:/etc/skywalker/config.toml:ro
- /etc/machine-id:/etc/machine-id:ro
depends_on:
- mosquitto
- broadcast
- turn
- loki
restart: always
logging: &loki
driver: loki
options:
loki-url: "http://localhost:3100/api/prom/push"
broadcast:
image: ghcr.io/sb-im/skywalker:debug
container_name: broadcast
command:
- --debug
- broadcast
- -c
- /etc/skywalker/config.toml
ports:
- "8080:8080"
- "127.0.0.1:6060:6060"
volumes:
- ../config/config.docker.toml:/etc/skywalker/config.toml:ro
depends_on:
- mosquitto
- turn
- loki
restart: always
logging: *loki
turn:
image: ghcr.io/sb-im/skywalker:debug
container_name: turn
command:
- --debug
- turn
- -c
- /etc/skywalker/config.toml
network_mode: host
volumes:
- ../config/config.docker.toml:/etc/skywalker/config.toml:ro
depends_on:
- loki
restart: always
logging: *loki
mosquitto:
image: eclipse-mosquitto:2
container_name: mosquitto
volumes:
- ../config/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro
depends_on:
- loki
restart: always
logging: *loki
loki:
image: grafana/loki:latest
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
logging: *loki
grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
restart: always
logging: *loki