Hardcode authelia config

This commit is contained in:
Colin Hebert
2023-01-10 15:36:49 +01:00
parent b51eb4de73
commit dad568027e
3 changed files with 4 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ services:
NASCOMPOSE_TRAEFIK_DOMAINS: ${NASCOMPOSE_TRAEFIK_DOMAINS?} NASCOMPOSE_TRAEFIK_DOMAINS: ${NASCOMPOSE_TRAEFIK_DOMAINS?}
AUTHELIA_DEFAULT_REDIRECTION_URL: "" #Heimdall AUTHELIA_DEFAULT_REDIRECTION_URL: "" #Heimdall
AUTHELIA_JWT_SECRET_FILE: /run/secrets/jwt_secret AUTHELIA_JWT_SECRET_FILE: /run/secrets/jwt_secret
X_AUTHELIA_CONFIG: /etc/authelia/ X_AUTHELIA_CONFIG: /etc/authelia/configuration.yml,/etc/authelia/access.yml,/etc/authelia/authentication.yml
networks: networks:
- traefik - traefik
volumes: volumes:

View File

@@ -26,7 +26,7 @@ authentication_backend:
## Important: Kubernetes (or HA) users must read https://www.authelia.com/t/statelessness ## Important: Kubernetes (or HA) users must read https://www.authelia.com/t/statelessness
## ##
file: file:
path: /data/users_database.yml path: /config/users_database.yml
watch: true watch: true
## ##

View File

@@ -3,10 +3,6 @@
## The theme to display: light, dark, grey, auto. ## The theme to display: light, dark, grey, auto.
theme: auto theme: auto
## The secret used to generate JWT tokens when validating user identity by email confirmation. JWT Secret can also be
## set using a secret: https://www.authelia.com/c/secrets
jwt_secret: a_very_important_secret
## ##
## Storage Provider Configuration ## Storage Provider Configuration
## ##
@@ -27,7 +23,7 @@ storage:
## ##
local: local:
## Path to the SQLite3 Database. ## Path to the SQLite3 Database.
path: /data/db.sqlite3 path: /config/db.sqlite3
## ##
## Notification Provider ## Notification Provider
@@ -41,4 +37,4 @@ notifier:
## Important: Kubernetes (or HA) users must read https://www.authelia.com/t/statelessness ## Important: Kubernetes (or HA) users must read https://www.authelia.com/t/statelessness
## ##
filesystem: filesystem:
filename: /data/notification.txt filename: /config/notification.txt