Compare commits
2
Commits
devel
..
production
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15dbe1a502 | ||
|
|
2421868944 |
No files matched your search
+1
-12
@@ -10,12 +10,7 @@ services:
|
||||
labels:
|
||||
- traefik.enable=${TRAEFIK_ENABLED}
|
||||
- traefik.docker.network=${TRAEFIK_NETWORK}
|
||||
### Section HTTP
|
||||
- traefik.http.routers.http-${TRAEFIK_ROUTER}.entrypoints=http
|
||||
# redirect to HTTPS only
|
||||
- traefik.http.routers.http-${TRAEFIK_ROUTER}.middlewares=http-to-https
|
||||
- traefik.http.routers.http-${TRAEFIK_ROUTER}.rule=Host(`${TRAEFIK_MATCHRULE}`)
|
||||
### Section HTTPS
|
||||
# HTTPS
|
||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.entrypoints=https
|
||||
# configure the exposed service
|
||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=hsts
|
||||
@@ -25,12 +20,6 @@ services:
|
||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=${TRAEFIK_CERTRESOLVER}
|
||||
# specify a service so a custom port can be used
|
||||
- traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT}
|
||||
### Section DIUN
|
||||
- diun.enable=${DIUN_ENABLE}
|
||||
- diun.watch_repo=${DIUN_WATCHREPO}
|
||||
- diun.sort_tags=${DIUN_SORTALGO}
|
||||
- diun.include_tags=${DIUN_INCLUDE}
|
||||
- diun.exclude_tags=${DIUN_EXCLUDE}
|
||||
networks:
|
||||
- traefik
|
||||
volumes:
|
||||
|
||||
@@ -13,10 +13,3 @@ TRAEFIK_SERVICE=zigbee2mqtt_example_com
|
||||
TRAEFIK_SERVICE_PORT=8080
|
||||
TRAEFIK_TLSENABLED=true
|
||||
TRAEFIK_CERTRESOLVER=letsencrypt
|
||||
|
||||
# DIUN
|
||||
DIUN_ENABLE=true
|
||||
DIUN_WATCHREPO=true
|
||||
DIUN_SORTALGO=semver
|
||||
DIUN_INCLUDE=[0-9]\.[0-9]\.[0-9]
|
||||
DIUN_EXCLUDE=
|
||||
Reference in new issue
Block a user