make changes to traefik networks & add labels file

This commit is contained in:
Michi 2024-08-25 20:53:22 +02:00
parent 01ba2859a5
commit a18c228bd8
2 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,17 @@
labels:
- "traefik.enable=true"
- "traefik.http.routers.homarr.entrypoints=http, https"
- "traefik.http.routers.homarr.rule=Host(`homarr.example.com`)"
- "traefik.http.routers.homarr.tls=true"
- "traefik.http.routers.homarr.tls.certresolver=production"
- "traefik.docker.network=traefik_traefik"
networks:
- traefik
- memos
networks:
homarr:
external: false
traefik:
name: traefik_traefik
external: true

View file

@ -18,6 +18,5 @@ services:
networks:
traefik:
name: traefik_default
driver: bridge
# Network name for other compose files: traefik_traefik