infrastructure/ansible/roles/docker/files/librespeed/docker-compose.yml
2020-02-07 09:04:13 +00:00

16 lines
553 B
YAML

version: "2"
services:
librespeed:
image: linuxserver/librespeed:5.1-ls3
container_name: librespeed
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ=Europe/London
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.librespeed.rule=Host(`speed.jakehoward.tech`)"
- "traefik.http.routers.librespeed.tls=true"
- "traefik.http.routers.librespeed.tls.certresolver=le"
- "traefik.http.routers.librespeed.middlewares=internal-only@file"