denpa-radio/docker-compose.yml
devilreef 4899bf5c00
fix: correct paths and healthcheck for libretime/icecast image
- fix config paths from icecast2 to icecast (correct for this image)
- fix mount target to /etc/icecast.xml (not /etc/icecast2/icecast.xml)
- replace wget healthcheck with bash /dev/tcp (wget absent in container)
2026-04-29 23:49:22 +06:00

20 lines
544 B
YAML

name: 'denpa-radio'
services:
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/icecast.xml
healthcheck:
test: ['CMD', 'bash', '-c', 'exec 3<>/dev/tcp/localhost/8000 && printf "GET /status-json.xsl HTTP/1.0\r\nHost: localhost\r\n\r\n" >&3 && grep -q icestats <&3']
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
# liquidsoap added in Task 6