included redis in stack
This commit is contained in:
1 parent
3bb6cee698
commit
898a9761c4
2 files changed
+23
-4
No files matched your search
@@ -2,9 +2,12 @@
|
|||||||
# Authelia configuration #
|
# Authelia configuration #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
host: 0.0.0.0
|
server:
|
||||||
port: 8080 # if you need this changed make sure it reflects also in the docker-compose.yml
|
host: 0.0.0.0
|
||||||
log_level: info
|
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
|
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
|
||||||
|
|||||||
@@ -9,5 +9,17 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: true
|
disable: true
|
||||||
|
environment:
|
||||||
|
- TZ=Australia/Melbourne
|
||||||
|
epends_on:
|
||||||
|
- redis
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:alpine
|
||||||
|
volumes:
|
||||||
|
- ./redis:/data
|
||||||
|
expose:
|
||||||
|
- 6379
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- TZ=Australia/Melbourne
|
- TZ=Australia/Melbourne
|
||||||
Reference in new issue
Block a user