feat(compose): add streamer-minecraft-tg service

This commit is contained in:
devilreef 2026-04-30 15:32:11 +06:00
parent 0ff5ecd9d0
commit ed76fbd379
Signed by: devilreef
SSH key fingerprint: SHA256:UZisRr4iuXx+IhkbZnR655L2RWAT6o2rgbGv5F/6m3Y
2 changed files with 50 additions and 0 deletions

View file

@ -68,3 +68,30 @@ services:
timeout: 5s
retries: 3
start_period: 15s
streamer-minecraft-tg:
build: ./streamer
image: denpa-radio-streamer:latest
restart: always
env_file: config/streamer-minecraft-tg.env
depends_on:
liquidsoap:
condition: service_healthy
volumes:
- type: bind
source: /mnt/trashbox/denpa-radio/library
target: /library
read_only: true
- type: bind
source: ./data/now-playing
target: /now-playing
read_only: true
shm_size: '1gb'
ports:
- '172.17.0.1:12010:12010'
healthcheck:
test: ['CMD', 'wget', '-q', '-O', '-', 'http://127.0.0.1:12010/health']
interval: 30s
timeout: 5s
retries: 3
start_period: 60s