version: '3'

services:
  icecast-ripper:
    image: ghcr.io/kemko/icecast-ripper:master
    ports:
      - "8080:8080"
    environment:
      - STREAM_URL=http://example.com/stream
      - CHECK_INTERVAL=1m
      - RECORDINGS_PATH=/records
      - TEMP_PATH=/app/temp
      - SERVER_ADDRESS=:8080
      - RSS_FEED_URL=http://localhost:8080/rss
      - LOG_LEVEL=info
    volumes:
      - ./records:/records
      - ./temp:/app/temp
      - ./data:/app/data
