Use env variables to configure secrets in Standalone suite.
parent
cab97d5f2f
commit
bb7781fd2b
|
@ -8,14 +8,11 @@ logs_level: debug
|
|||
|
||||
default_redirection_url: https://home.example.com:8080/
|
||||
|
||||
jwt_secret: very_important_secret
|
||||
|
||||
authentication_backend:
|
||||
file:
|
||||
path: /var/lib/authelia/users.yml
|
||||
|
||||
session:
|
||||
secret: unsecure_session_secret
|
||||
domain: example.com
|
||||
expiration: 3600 # 1 hour
|
||||
inactivity: 300 # 5 minutes
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
version: '3'
|
||||
services:
|
||||
authelia-backend:
|
||||
environment:
|
||||
- AUTHELIA_JWT_SECRET=very_important_secret
|
||||
- AUTHELIA_SESSION_SECRET=unsecure_session_secret
|
||||
volumes:
|
||||
- './internal/suites/Standalone/configuration.yml:/etc/authelia/configuration.yml:ro'
|
||||
- './internal/suites/Standalone/users.yml:/var/lib/authelia/users.yml'
|
Loading…
Reference in New Issue