feat: add icecast service to compose
This commit is contained in:
parent
7db31e326d
commit
13bc038004
1 changed files with 17 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue