generated from ztimson/template
25 lines
748 B
YAML
25 lines
748 B
YAML
services:
|
|
librespeed:
|
|
image: lscr.io/linuxserver/librespeed:latest
|
|
container_name: viator-librespeed
|
|
restart: unless-stopped
|
|
environment:
|
|
PUID: ${PUID:-1000}
|
|
PGID: ${PGID:-1000}
|
|
TZ: ${TZ:-Etc/UTC}
|
|
volumes:
|
|
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/librespeed:/config
|
|
ports:
|
|
- "${LIBRESPEED_BIND:-127.0.0.1}:${LIBRESPEED_PORT:-1900}:80"
|
|
networks:
|
|
- proxy
|
|
labels:
|
|
caddy: ${VIATOR_SUB_SPEEDTEST:-speedtest}.${VIATOR_DOMAIN:-viator.internal}
|
|
caddy.reverse_proxy: "{{upstreams 80}}"
|
|
caddy.tls: internal
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
name: viator_proxy
|