infrastructure/ansible/roles/pve_docker/files/librespeed/docker-compose.yml
Jake Howard 3a29c327b7
All checks were successful
/ terraform (push) Successful in 1m0s
/ ansible (push) Successful in 1m47s
Remove version key from compose files
2024-07-15 18:08:14 +01:00

22 lines
609 B
YAML

services:
librespeed:
image: lscr.io/linuxserver/librespeed:latest
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ={{ timezone }}
ports:
- 33377:80
restart: unless-stopped
labels:
- 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