removed diun, removed https redirect

handled by traefik
This commit is contained in:
2026-07-18 17:49:55 +02:00
parent fffe85df74
commit 0ede9ad64d
2 changed files with 3 additions and 34 deletions

View File

@@ -29,27 +29,16 @@ services:
### Section Træfik
- traefik.enable=${TRAEFIK_ENABLED}
- traefik.docker.network=${TRAEFIK_NETWORK}
## HTTP
- traefik.http.routers.http-${TRAEFIK_ROUTER}.entrypoints=http
# redirect to HTTPS only
- traefik.http.routers.http-${TRAEFIK_ROUTER}.middlewares=${TRAEFIK_HTTP_MIDDLEWARES}
- traefik.http.routers.http-${TRAEFIK_ROUTER}.rule=${TRAEFIK_MATCHRULE}
## HTTPS
# HTTPS
- traefik.http.routers.https-${TRAEFIK_ROUTER}.entrypoints=https
# configure the exposed service
- traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=${TRAEFIK_HTTPS_MIDDLEWARES}
- traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=${TRAEFIK_MIDDLEWARES}
- traefik.http.routers.https-${TRAEFIK_ROUTER}.rule=${TRAEFIK_MATCHRULE}
# enable TLS and its certificate provider
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls=${TRAEFIK_TLSENABLED}
- 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=${BOOKSTACK_DIUN_ENABLE}
- diun.watch_repo=${BOOKSTACK_DIUN_WATCHREPO}
- diun.sort_tags=${BOOKSTACK_DIUN_SORTALGO}
- diun.include_tags=${BOOKSTACK_DIUN_INCLUDE}
- diun.exclude_tags=${BOOKSTACK_DIUN_EXCLUDE}
networks:
- internal
- traefik
@@ -64,13 +53,6 @@ services:
- MARIADB_DATABASE=${MARIADB_DATABASE}
- MARIADB_PASSWORD=${MARIADB_PASSWORD}
- MARIADB_USER=${MARIADB_USER}
labels:
### Section Diun
- diun.enable=${MARIADB_DIUN_ENABLE}
- diun.watch_repo=${MARIADB_DIUN_WATCHREPO}
- diun.sort_tags=${MARIADB_DIUN_SORTALGO}
- diun.include_tags=${MARIADB_DIUN_INCLUDE}
- diun.exclude_tags=${MARIADB_DIUN_EXCLUDE}
networks:
- internal
volumes: