Jake Howard
d5c7d94ac8
This required port forwarding, a docker proxy, and a docker network, but the end result should be much more secure!
23 lines
624 B
YAML
23 lines
624 B
YAML
version: "2.3"
|
|
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
|