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

19 lines
631 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:
2020-04-18 22:53:15 +01:00
image: linuxserver/librespeed:5.2-ls11
2020-01-30 13:43:28 +00:00
container_name: librespeed
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:
- "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 }}"