2023-12-31 04:15:22 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
networks:
|
|
|
|
net:
|
|
|
|
external: false
|
|
|
|
|
|
|
|
services:
|
|
|
|
haproxy:
|
|
|
|
image: haproxy:lts
|
2025-01-28 18:13:50 +00:00
|
|
|
container_name: haproxy
|
2024-01-03 02:30:21 +00:00
|
|
|
env_file:
|
|
|
|
- "variables.env"
|
2023-12-31 04:15:22 +00:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
|
|
|
volumes:
|
|
|
|
- "./data/certificates:/certificates"
|
|
|
|
- "./config/haproxy:/usr/local/etc/haproxy"
|
|
|
|
depends_on:
|
|
|
|
- "restreamer"
|
2024-09-05 17:05:23 +00:00
|
|
|
- "api"
|
2023-12-31 04:15:22 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- net
|
|
|
|
labels:
|
|
|
|
- meta.role=haproxy
|
|
|
|
|
2025-01-28 18:13:50 +00:00
|
|
|
acme-sh:
|
|
|
|
image: neilpang/acme.sh
|
|
|
|
container_name: acme.sh
|
2023-12-31 04:15:22 +00:00
|
|
|
volumes:
|
2025-01-28 18:13:50 +00:00
|
|
|
- "./data/acme:/acme.sh"
|
2023-12-31 04:15:22 +00:00
|
|
|
- "./data/certificates:/certificates"
|
2025-01-28 18:13:50 +00:00
|
|
|
network_mode: host
|
|
|
|
command: daemon
|
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
restart: "no"
|
2023-12-31 04:15:22 +00:00
|
|
|
|
|
|
|
restreamer:
|
2024-06-23 17:00:10 +00:00
|
|
|
image: datarhei/restreamer:2.11.0
|
2023-12-31 14:32:41 +00:00
|
|
|
env_file:
|
|
|
|
- "variables.env"
|
2023-12-31 04:15:22 +00:00
|
|
|
ports:
|
|
|
|
- "6000:6000/udp"
|
|
|
|
volumes:
|
2024-01-04 21:23:50 +00:00
|
|
|
- "./data/restreamer/config:/core/config"
|
|
|
|
- "./data/restreamer/data:/core/data"
|
2023-12-31 04:15:22 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- net
|
|
|
|
labels:
|
|
|
|
- meta.role=restreamer
|
|
|
|
|
2024-09-05 17:05:23 +00:00
|
|
|
api:
|
2023-12-31 04:15:22 +00:00
|
|
|
depends_on:
|
|
|
|
- "restreamer"
|
2024-09-05 17:05:23 +00:00
|
|
|
build: ./src/api
|
|
|
|
image: tv-api:latest
|
2023-12-31 14:32:41 +00:00
|
|
|
env_file:
|
2024-01-15 04:42:05 +02:00
|
|
|
- "variables.env"
|
2024-01-05 13:29:29 +00:00
|
|
|
volumes:
|
2024-09-05 17:05:23 +00:00
|
|
|
- "./config/api:/config"
|
2024-01-13 00:09:44 +02:00
|
|
|
- "./data/recorder:/recordings"
|
2023-12-31 04:15:22 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- net
|
|
|
|
labels:
|
2024-09-05 17:05:23 +00:00
|
|
|
- meta.role=api
|
2023-12-31 04:15:22 +00:00
|
|
|
|
2024-01-15 04:42:05 +02:00
|
|
|
discordbot:
|
|
|
|
depends_on:
|
2024-09-05 17:05:23 +00:00
|
|
|
- "api"
|
2024-01-15 04:42:05 +02:00
|
|
|
build: ./src/discordbot
|
|
|
|
image: tv-discordbot:latest
|
|
|
|
env_file:
|
|
|
|
- "variables.env"
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- net
|
|
|
|
labels:
|
2024-06-23 17:00:10 +00:00
|
|
|
- meta.role=discordbot
|
2024-06-28 23:01:28 +00:00
|
|
|
|
|
|
|
icecast:
|
|
|
|
#depends_on:
|
|
|
|
# - "radiorelay"
|
|
|
|
build: ./src/icecast
|
|
|
|
image: tv-icecast:latest
|
|
|
|
env_file:
|
|
|
|
- "variables.env"
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "8000:8000"
|
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- "./config/icecast/icecast.xml.template:/etc/icecast2/icecast.xml.template"
|
|
|
|
- "./data/icecast:/usr/share/icecast2/web/data"
|
|
|
|
- "./logs/icecast:/var/log/icecast2"
|
|
|
|
networks:
|
|
|
|
- net
|
|
|
|
labels:
|
|
|
|
- meta.role=icecast
|