forked from coop-cloud/traefik
Compare commits
4 Commits
1.0.0+v2.5
...
error-page
Author | SHA1 | Date | |
---|---|---|---|
b538fa1509 | |||
8e91a5a3ee | |||
3048d09cd8 | |||
2c9e980809 |
@ -8,8 +8,7 @@ LETS_ENCRYPT_EMAIL=certs@example.com
|
||||
# WARN, INFO etc.
|
||||
LOG_LEVEL=WARN
|
||||
|
||||
# This is here so later lines can extend the definition; you likely don't wanna
|
||||
# edit
|
||||
# This is here so later lines can extend it; you likely don't wanna edit
|
||||
COMPOSE_FILE="compose.yml"
|
||||
|
||||
#####################################################################
|
||||
@ -52,6 +51,7 @@ COMPOSE_FILE="compose.yml"
|
||||
## Enable Keycloak
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.keycloak.yml"
|
||||
#KEYCLOAK_MIDDLEWARE_ENABLED=1
|
||||
#KEYCLOAK_TFA_SERVICE=traefik-forward-auth_app
|
||||
|
||||
#####################################################################
|
||||
# Prometheus metrics #
|
||||
|
2
abra.sh
2
abra.sh
@ -1,3 +1,3 @@
|
||||
export TRAEFIK_YML_VERSION=v12
|
||||
export FILE_PROVIDER_YML_VERSION=v2
|
||||
export FILE_PROVIDER_YML_VERSION=v3
|
||||
export ENTRYPOINT_VERSION=v2
|
||||
|
@ -8,3 +8,4 @@ services:
|
||||
- "traefik.http.routers.traefik.middlewares=keycloak@file"
|
||||
environment:
|
||||
- KEYCLOAK_MIDDLEWARE_ENABLED
|
||||
- KEYCLOAK_TFA_SERVICE
|
||||
|
17
compose.yml
17
compose.yml
@ -49,6 +49,23 @@ services:
|
||||
- "traefik.http.routers.traefik.middlewares=security@file"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.0.0+v2.5.2"
|
||||
|
||||
web:
|
||||
image: tarampampam/error-pages:2.2.0
|
||||
environment:
|
||||
- TEMPLATE_NAME=shuffle
|
||||
networks:
|
||||
- proxy
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.error-pages-service.loadbalancer.server.port=8080"
|
||||
- "traefik.http.routers.error-router.entrypoints=web-secure"
|
||||
- "traefik.http.routers.error-router.rule=HostRegexp(`{host:.+}`)"
|
||||
- "traefik.http.routers.error-router.priority=10"
|
||||
- "traefik.http.routers.error-router.middlewares=error-pages-middleware@docker"
|
||||
- "traefik.http.middlewares.error-pages-middleware.errors.status=400-599"
|
||||
- "traefik.http.middlewares.error-pages-middleware.errors.service=error-pages-service@docker"
|
||||
- "traefik.http.middlewares.error-pages-middleware.errors.query=/{status}.html"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
@ -4,7 +4,7 @@ http:
|
||||
{{ if eq (env "KEYCLOAK_MIDDLEWARE_ENABLED") "1" }}
|
||||
keycloak:
|
||||
forwardAuth:
|
||||
address: "http://traefik-forward-auth:4181"
|
||||
address: "http://{{ env "KEYCLOAK_TFA_SERVICE" }}:4181"
|
||||
trustForwardHeader: true
|
||||
authResponseHeaders:
|
||||
- X-Forwarded-User
|
||||
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:base"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user