Remove deprecated deploy workflow, update README with new features and service URLs, delete unused alertmanager and prometheus configurations, refactor Authelia configuration for improved security and functionality, add Gitea and Beszel services, and enhance health checks across services.
This commit is contained in:
60
authelia/configuration.template.yml
Normal file
60
authelia/configuration.template.yml
Normal file
@@ -0,0 +1,60 @@
|
||||
---
|
||||
# Authelia configuration
|
||||
# This is a minimal configuration for getting started with Authelia
|
||||
|
||||
server:
|
||||
address: 'tcp://:9091'
|
||||
endpoints:
|
||||
authz:
|
||||
forward-auth:
|
||||
implementation: 'ForwardAuth'
|
||||
|
||||
authentication_backend:
|
||||
file:
|
||||
path: '/config/users_database.yml'
|
||||
|
||||
access_control:
|
||||
default_policy: 'one_factor'
|
||||
rules:
|
||||
- domain: 'pgadmin.${DOMAIN_PREFIX}.${DOMAIN}'
|
||||
policy: 'two_factor'
|
||||
- domain: 'beszel.${DOMAIN_PREFIX}.${DOMAIN}'
|
||||
policy: 'two_factor'
|
||||
- domain: 'traefik.${DOMAIN_PREFIX}.${DOMAIN}'
|
||||
policy: 'two_factor'
|
||||
- domain: '*.${DOMAIN_PREFIX}.${DOMAIN}'
|
||||
policy: 'one_factor'
|
||||
|
||||
session:
|
||||
name: 'authelia_session'
|
||||
cookies:
|
||||
- domain: '${DOMAIN}'
|
||||
authelia_url: 'https://auth.${DOMAIN_PREFIX}.${DOMAIN}'
|
||||
default_redirection_url: 'https://portainer.${DOMAIN_PREFIX}.${DOMAIN}'
|
||||
|
||||
storage:
|
||||
postgres:
|
||||
address: 'tcp://authelia-db:5432'
|
||||
database: 'authelia'
|
||||
username: 'authelia'
|
||||
|
||||
notifier:
|
||||
disable_startup_check: true
|
||||
# Configure SMTP for production email notifications
|
||||
# For testing, you can use filesystem notifier instead:
|
||||
# filesystem:
|
||||
# filename: /config/notification.txt
|
||||
smtp:
|
||||
address: 'submissions://smtp.gmail.com:465'
|
||||
username: 'your-email@gmail.com'
|
||||
sender: 'Authelia <noreply@${DOMAIN}>'
|
||||
# For Gmail, use an App Password (not your regular password)
|
||||
# Generate at: https://myaccount.google.com/apppasswords
|
||||
|
||||
identity_validation:
|
||||
reset_password: {}
|
||||
|
||||
regulation:
|
||||
max_retries: 3
|
||||
find_time: 120
|
||||
ban_time: 300
|
||||
Reference in New Issue
Block a user