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

19 lines
629 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
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 }}"