mirror of
https://github.com/swapplications/uhf-server-dist.git
synced 2026-11-04 07:33:50 +00:00
15 lines
508 B
YAML
15 lines
508 B
YAML
services:
|
|
uhf-server:
|
|
image: swapplications/uhf-server:2.2.1
|
|
container_name: uhf-server
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${PORT:-8000}:${PORT:-8000}"
|
|
volumes:
|
|
- ./uhf-recordings:/recordings
|
|
- ./uhf-db:/var/lib/uhf-server
|
|
environment:
|
|
- PORT=${PORT:-8000}
|
|
- PASSWORD=${PASSWORD:-} # Optional password protection
|
|
command: uhf-server --port ${PORT:-8000} --recordings-dir /recordings ${PASSWORD:+--password ${PASSWORD}} --enable-commercial-detection
|