replace nforwardauth with authelia #231

Merged
mg merged 45 commits from authelia into master 2024-11-10 12:53:46 +01:00
2 changed files with 19 additions and 9 deletions
Showing only changes of commit c05abfcc30 - Show all commits

View file

@ -1,9 +1,12 @@
--- ---
server.address: "0.0.0.0:9091" server.address: "0.0.0.0:9091"
log: log:
level: debug level: debug
jwt_secret: c50498e29383564cd50bdeda9b74a3bf identity_validation:
reset_password:
jwt_secret: c50498e29383564cd50bdeda9b74a3bf
totp: totp:
issuer: totp.mgrote.net issuer: totp.mgrote.net
@ -40,11 +43,10 @@ storage:
path: /data/db.sqlite3 path: /data/db.sqlite3
# db auf mariadb ändern # db auf mariadb ändern
#notifier: notifier:
# smtp: smtp:
# username: apikey username: ""
# password: secret password: ""
# host: smtp.sendgrid.net host: postfix
# port: 587 port: 25
# sender: no-reply@mydomain.com sender: no-reply-authelia@mgrote.net
#configuration

View file

@ -48,6 +48,10 @@ services:
traefik.http.middlewares.authelia.forwardauth.authResponseHeaders: Remote-User,Remote-Groups,Remote-Name,Remote-Email' traefik.http.middlewares.authelia.forwardauth.authResponseHeaders: Remote-User,Remote-Groups,Remote-Name,Remote-Email'
depends_on: depends_on:
- authelia-redis - authelia-redis
networks:
- traefik
- postfix
- authelia
authelia-redis: # version!!!! authelia-redis: # version!!!!
image: redis:7 image: redis:7
@ -56,11 +60,15 @@ services:
pull_policy: missing pull_policy: missing
environment: environment:
TZ: Europe/Berlin TZ: Europe/Berlin
networks:
- authelia
######## Networks ######## ######## Networks ########
networks: networks:
traefik: traefik:
external: true external: true
postfix:
external: true
######## Volumes ######## ######## Volumes ########
volumes: volumes:
acme_data: acme_data: