mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Use env variables to configure secrets in Standalone suite.
This commit is contained in:
parent
cab97d5f2f
commit
bb7781fd2b
|
@ -8,14 +8,11 @@ logs_level: debug
|
||||||
|
|
||||||
default_redirection_url: https://home.example.com:8080/
|
default_redirection_url: https://home.example.com:8080/
|
||||||
|
|
||||||
jwt_secret: very_important_secret
|
|
||||||
|
|
||||||
authentication_backend:
|
authentication_backend:
|
||||||
file:
|
file:
|
||||||
path: /var/lib/authelia/users.yml
|
path: /var/lib/authelia/users.yml
|
||||||
|
|
||||||
session:
|
session:
|
||||||
secret: unsecure_session_secret
|
|
||||||
domain: example.com
|
domain: example.com
|
||||||
expiration: 3600 # 1 hour
|
expiration: 3600 # 1 hour
|
||||||
inactivity: 300 # 5 minutes
|
inactivity: 300 # 5 minutes
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
authelia-backend:
|
authelia-backend:
|
||||||
|
environment:
|
||||||
|
- AUTHELIA_JWT_SECRET=very_important_secret
|
||||||
|
- AUTHELIA_SESSION_SECRET=unsecure_session_secret
|
||||||
volumes:
|
volumes:
|
||||||
- './internal/suites/Standalone/configuration.yml:/etc/authelia/configuration.yml:ro'
|
- './internal/suites/Standalone/configuration.yml:/etc/authelia/configuration.yml:ro'
|
||||||
- './internal/suites/Standalone/users.yml:/var/lib/authelia/users.yml'
|
- './internal/suites/Standalone/users.yml:/var/lib/authelia/users.yml'
|
Loading…
Reference in New Issue
Block a user