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

18 lines
588 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: 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 }}
2020-01-30 13:43:28 +00:00
- TZ=Europe/London
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.tls.certresolver=le
- traefik.http.routers.librespeed.middlewares=librespeed-auth@docker
- traefik.http.middlewares.librespeed-auth.basicauth.users={{ librespeed_basicauth }}