Browse Source

included redis in stack

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

15
authelia/config/configuration.yml

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

12
authelia/docker-compose.yml

@ -9,5 +9,17 @@ services:
restart: unless-stopped
healthcheck:
disable: true
environment:
- 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