Use env variables to configure secrets in Standalone suite.

This commit is contained in:
Clement Michaud 2020-01-21 23:07:11 +01:00 committed by Amir Zarrinkafsh
parent cab97d5f2f
commit bb7781fd2b
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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'