feat: add icecast service to compose

This commit is contained in:
devilreef 2026-04-29 23:18:57 +06:00
parent 7db31e326d
commit 13bc038004
Signed by: devilreef
SSH key fingerprint: SHA256:UZisRr4iuXx+IhkbZnR655L2RWAT6o2rgbGv5F/6m3Y

View file

@ -1,5 +1,21 @@
name: 'denpa-radio' name: 'denpa-radio'
services: services:
# icecast added in Task 3 icecast:
image: libretime/icecast:2.4.4
restart: unless-stopped
ports:
- '172.17.0.1:12000:8000'
volumes:
- type: bind
source: ./config/icecast.xml
target: /etc/icecast2/icecast.xml
read_only: true
healthcheck:
test: ['CMD-SHELL', 'wget -q -O- http://localhost:8000/status-json.xsl | grep -q icestats']
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
# liquidsoap added in Task 6 # liquidsoap added in Task 6