This commit is contained in:
chris
2025-06-09 12:29:21 +02:00
parent a46ab16489
commit f448f29a03
5 changed files with 20 additions and 9 deletions

View File

@@ -26,8 +26,8 @@ services:
AUTHELIA_SESSION_SECRET_FILE: /run/secrets/SESSION_SECRET
AUTHELIA_STORAGE_POSTGRES_PASSWORD_FILE: /run/secrets/STORAGE_PASSWORD
AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE: /run/secrets/STORAGE_ENCRYPTION_KEY
AUTHELIA_PUBLIC_DOMAIN: ${PUBLIC_DOMAIN} # this does not work for access control or openID yet
AUTHELIA_LOCAL_DOMAIN: ${LOCAL_DOMAIN} # this does not work for access control or openID yet
# AUTHELIA_PUBLIC_DOMAIN: ${PUBLIC_DOMAIN} # this does not work for access control or openID yet
# AUTHELIA_LOCAL_DOMAIN: ${LOCAL_DOMAIN} # this does not work for access control or openID yet
volumes:
- ${INFRA_PATH}/authelia/config:/config
- ${INFRA_PATH}/authelia/config:/config
@@ -44,4 +44,4 @@ services:
- 'traefik.http.routers.authelia.service=authelia-svc'
- 'traefik.http.services.authelia-svc.loadbalancer.server.port=9091'
# Middleware
- "traefik.http.routers.authelia.middlewares=crowdsec-bouncer@file"
- "traefik.http.routers.authelia.middlewares=crowdsec-bouncer@file"

View File

@@ -12,6 +12,7 @@ services:
environment:
HOMEPAGE_VAR_LOCAL_DOMAIN: ${LOCAL_DOMAIN}
HOMEPAGE_VAR_PUBLIC_DOMAIN: ${PUBLIC_DOMAIN}
HOMEPAGE_ALLOWED_HOSTS: homepage.${LOCAL_DOMAIN}, 192.168.178.35:3030
volumes:
- ${INFRA_PATH}/homepage/config:/app/config
- ${INFRA_PATH}/homepage/data/images:/app/public/images
@@ -25,4 +26,4 @@ services:
- "traefik.enable=true"
- "traefik.http.routers.homepage.rule=Host(`homepage.${LOCAL_DOMAIN}`)"
- "traefik.http.routers.homepage.entrypoints=https"
- "traefik.http.routers.homepage.tls=true"
- "traefik.http.routers.homepage.tls=true"

View File

@@ -18,6 +18,10 @@ services:
TRAEFIK_PUBLIC_DOMAIN: ${PUBLIC_DOMAIN}
TRAEFIK_AUTH_PUBLIC_DOMAIN: auth.${PUBLIC_DOMAIN}
TRAEFIK_CROWDSEC_API_KEY: ${CROWDSEC_API_KEY}
NAMESILO_API_KEY: ${NAMESILO_API_KEY}
NAMESILO_PROPAGATION_TIMEOUT: 600
NAMESILO_POLLING_INTERVAL: 30
# NAMESILO_TTL: 60
volumes:
- "/var/log/crowdsec/:/var/log/crowdsec/"
- "/var/run/docker.sock:/var/run/docker.sock:ro"