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