infrastructure/ansible/roles/pve_docker/files/librespeed/docker-compose.yml

24 lines
624 B
YAML
Raw Normal View History

2020-03-08 18:12:12 +00:00
version: "2.3"
2020-01-30 13:43:28 +00:00
services:
librespeed:
image: lscr.io/linuxserver/librespeed:latest
2020-01-30 13:43:28 +00:00
environment:
2020-02-02 20:28:08 +00:00
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ={{ timezone }}
ports:
- 33377:80
2020-01-30 13:43:28 +00:00
restart: unless-stopped
labels:
2020-06-18 20:49:12 +01:00
- traefik.enable=true
- traefik.http.routers.librespeed.rule=Host(`speed.jakehoward.tech`)
- traefik.http.routers.librespeed.middlewares=librespeed-auth@docker
- traefik.http.middlewares.librespeed-auth.basicauth.users={{ librespeed_basicauth }}
networks:
- default
- traefik
networks:
traefik:
external: true