From 13bc03800457ecd3a2dcd7226e35bbc0bcdd9379 Mon Sep 17 00:00:00 2001 From: devilreef Date: Wed, 29 Apr 2026 23:18:57 +0600 Subject: [PATCH] feat: add icecast service to compose --- docker-compose.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 308beda..127b783 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,21 @@ name: 'denpa-radio' 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