Browse Source

included redis in stack

master
Jared Smith 3 years ago
parent
commit
898a9761c4
  1. 11
      authelia/config/configuration.yml
  2. 12
      authelia/docker-compose.yml

11
authelia/config/configuration.yml

@ -2,9 +2,12 @@
# Authelia configuration # # Authelia configuration #
############################################################################## ##############################################################################
server:
host: 0.0.0.0 host: 0.0.0.0
port: 8080 # if you need this changed make sure it reflects also in the docker-compose.yml port: 8080 # if you need this changed make sure it reflects also in the docker-compose.yml
log_level: info log:
level: info
jwt_secret: # insert secret
default_redirection_url: https://auth.jaredtsmith.com default_redirection_url: https://auth.jaredtsmith.com
totp: totp:
issuer: jaredtsmith.com issuer: jaredtsmith.com
@ -42,13 +45,15 @@ access_control:
session: session:
name: authelia_session name: authelia_session
secret: # insert secret
expiration: 3600 # 1 hour expiration: 3600 # 1 hour
inactivity: 7200 # 2 hours inactivity: 7200 # 2 hours
domain: jaredtsmith.com # Needs to be your root domain domain: jaredtsmith.com # Needs to be your root domain
redis: redis:
host: outline_redis host: authelia_redis_1
port: 6379 port: 6379
password: # insert secret
regulation: regulation:
max_retries: 5 max_retries: 5
@ -58,12 +63,14 @@ regulation:
theme: dark # options: dark, light theme: dark # options: dark, light
storage: storage:
encryption_key: # insert secret
local: local:
path: /config/db.sqlite3 path: /config/db.sqlite3
notifier: notifier:
smtp: smtp:
username: admin@jaredtsmith.com username: admin@jaredtsmith.com
password: # insert password
host: mail.jaredtsmith.com host: mail.jaredtsmith.com
port: 465 # 25 non-ssl, 443 ssl, 587 tls port: 465 # 25 non-ssl, 443 ssl, 587 tls
sender: authelia@auth.jaredtsmith.com sender: authelia@auth.jaredtsmith.com

12
authelia/docker-compose.yml

@ -11,3 +11,15 @@ services:
disable: true disable: true
environment: environment:
- TZ=Australia/Melbourne - TZ=Australia/Melbourne
epends_on:
- redis
redis:
image: redis:alpine
volumes:
- ./redis:/data
expose:
- 6379
restart: unless-stopped
environment:
- TZ=Australia/Melbourne
Loading…
Cancel
Save