Moved to _dev
This commit is contained in:
20
authelia/compose.yaml
Normal file
20
authelia/compose.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
networks:
|
||||
net:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
config:
|
||||
|
||||
services:
|
||||
authelia:
|
||||
container_name: authelia
|
||||
image: docker.io/authelia/authelia:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
net: {}
|
||||
ports:
|
||||
- 9091:9091
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
volumes:
|
||||
- config:/config
|
||||
56
authelia/configuration.yml
Normal file
56
authelia/configuration.yml
Normal file
@@ -0,0 +1,56 @@
|
||||
---
|
||||
###############################################################
|
||||
# Authelia configuration #
|
||||
###############################################################
|
||||
|
||||
server:
|
||||
address: 'tcp://:9091'
|
||||
|
||||
log:
|
||||
level: 'debug'
|
||||
|
||||
totp:
|
||||
issuer: 'authelia.com'
|
||||
|
||||
identity_validation:
|
||||
reset_password:
|
||||
jwt_secret: 'S3SorNdAWR786SeTP7a9MBNQQbSqRTGFitqRtemT7VD6PQtmQHsXhPGgs7bfKTvp'
|
||||
|
||||
authentication_backend:
|
||||
file:
|
||||
path: '/config/users_database.yml'
|
||||
|
||||
access_control:
|
||||
default_policy: 'deny'
|
||||
rules:
|
||||
- domain: 'www.delmar.bzh'
|
||||
policy: 'bypass'
|
||||
- domain: 'dkr.delmar.bzh'
|
||||
policy: 'one_factor'
|
||||
- domain: 'cloud.delmar.bzh'
|
||||
policy: 'two_factor'
|
||||
|
||||
session:
|
||||
secret: 'M7SQ7ornWrDas6ienGHmRJaNrX93KNLCTi8ggM3QMiKKcCdjAwyJrLFK3oSVgsfG'
|
||||
|
||||
cookies:
|
||||
- name: 'authelia_session'
|
||||
domain: 'delmar.bzh' # Should match whatever your root protected domain is
|
||||
authelia_url: 'https://auth.delmar.bzh'
|
||||
expiration: '1 hour' # 1 hour
|
||||
inactivity: '5 minutes' # 5 minutes
|
||||
default_redirection_url: 'https://public.example.com'
|
||||
|
||||
regulation:
|
||||
max_retries: 3
|
||||
find_time: '2 minutes'
|
||||
ban_time: '5 minutes'
|
||||
|
||||
storage:
|
||||
encryption_key: 'yxmVn7chQz6PWEwPyXYSnHo9y42sWMfEXvLxRA6wPsZdj5Jb2ZGM9dVjgUTUSnbx'
|
||||
local:
|
||||
path: '/config/db.sqlite3'
|
||||
|
||||
notifier:
|
||||
filesystem:
|
||||
filename: '/config/notification.txt'
|
||||
17
authelia/users_database.yml
Normal file
17
authelia/users_database.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
###############################################################
|
||||
# Users Database #
|
||||
###############################################################
|
||||
|
||||
# This file can be used if you do not have an LDAP set up.
|
||||
|
||||
# List of users
|
||||
users:
|
||||
admin:
|
||||
disabled: false
|
||||
displayname: 'Admin'
|
||||
password: 'X5r53JMPVg97EKfL'
|
||||
email: 'admin@delmar.bzh'
|
||||
groups:
|
||||
- 'admins'
|
||||
- 'dev'
|
||||
Reference in New Issue
Block a user