homeserver/docker-compose/homer/docker-compose.yml.j2
mg caf87e2c3f traefik: nforwardauth (#518)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #518
2023-05-12 08:18:45 +02:00

34 lines
873 B
Django/Jinja

version: '3'
services:
######## homer ########
homer:
image: b4bz/homer:latest
container_name: homer-dashboard
restart: always
environment:
TZ: Europe/Berlin
UID: 1000
GID: 1000
INIT_ASSETS: 0
volumes:
- ./assets/:/www/assets
ports:
- 333:8080
networks:
- traefik
labels:
com.centurylinklabs.watchtower.enable: true
traefik.http.routers.homer.rule: Host(`www.mgrote.net`,`mgrote.net`)
traefik.enable: true
traefik.http.routers.homer.tls: true
traefik.http.routers.homer.tls.certresolver: resolver_letsencrypt
traefik.http.routers.homer.entrypoints: entry_https
traefik.http.services.homer.loadbalancer.server.port: 8080
traefik.http.routers.homer.middlewares: nforwardauth
######## Networks ########
networks:
traefik:
external: true