services: flac-converter: build: . container_name: flac-converter restart: unless-stopped # use "no" instead when RUN_MODE=once environment: - OUTPUT_FORMAT=m4a # m4a | mp3 - BITRATE=320k - PARALLEL_JOBS=4 - POLL_INTERVAL=30 - DELETE_SOURCE=false - RUN_MODE=watch # watch = keep listening | once = convert everything then exit - NOTIFY_ENABLED=true - APPRISE_URL=http://apprise:8000/notify - APPRISE_URLS=tgram:/// volumes: - "/path/to/your/flac:/music" - "/path/to/your/output:/output" depends_on: - apprise # Optional: Apprise server for sending Telegram (and other) notifications via HTTP API apprise: image: caronc/apprise-api:latest container_name: apprise restart: unless-stopped ports: - "8000:8000"