generated from ztimson/template
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
services:
|
|
openwebrx:
|
|
image: ${OPENWEBRX_IMAGE:-slechev/openwebrxplus-softmbe:latest}
|
|
container_name: viator-openwebrx
|
|
restart: unless-stopped
|
|
environment:
|
|
TZ: ${TZ:-Etc/UTC}
|
|
OPENWEBRX_ADMIN_USER: ${OPENWEBRX_ADMIN_USER:-admin}
|
|
OPENWEBRX_ADMIN_PASSWORD: ${OPENWEBRX_ADMIN_PASSWORD:?Set OPENWEBRX_ADMIN_PASSWORD in viator.env}
|
|
volumes:
|
|
- /dev/bus/usb:/dev/bus/usb
|
|
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/sdr/openwebrx/etc:/etc/openwebrx
|
|
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/sdr/openwebrx/var:/var/lib/openwebrx
|
|
device_cgroup_rules:
|
|
- "c 189:* rmw"
|
|
ports:
|
|
- "${OPENWEBRX_BIND:-127.0.0.1}:${OPENWEBRX_PORT:-8073}:8073"
|
|
networks:
|
|
- proxy
|
|
labels:
|
|
caddy: ${VIATOR_SUB_SDR:-sdr}.${VIATOR_DOMAIN:-viator.internal}
|
|
caddy.reverse_proxy: "{{upstreams 8073}}"
|
|
caddy.tls: internal
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
name: viator_proxy
|