replace nforwardauth with authelia #231

Merged
mg merged 45 commits from authelia into master 2024-11-10 12:53:46 +01:00
2 changed files with 27 additions and 0 deletions
Showing only changes of commit 4cd267704d - Show all commits

View file

@ -76,6 +76,32 @@ services:
timeout: 2s timeout: 2s
retries: 3 retries: 3
######## Datenbank ########
authelia-db:
image: "mariadb:11.5.2"
container_name: authelia-db
command: --transaction-isolation=READ-COMMITTED --log-bin=ROW --innodb_read_only_compressed=OFF
restart: unless-stopped
pull_policy: missing
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: "{{ lookup('viczem.keepass.keepass', 'authelia_mysql_root_password', 'password') }}"
MYSQL_PASSWORD: "{{ lookup('viczem.keepass.keepass', 'authelia_mysql_password', 'password') }}"
MYSQL_DATABASE: authelia
MYSQL_USER: authelia
MYSQL_INITDB_SKIP_TZINFO: 1
networks:
- authelia
healthcheck:
test: ["CMD", "mariadb-show", "nextcloud", "-h", "localhost", "-u", "authelia", "-p{{ lookup('viczem.keepass.keepass', 'authelia_mysql_password', 'password') }}"]
interval: 30s
timeout: 10s
retries: 3
######## Networks ######## ######## Networks ########
networks: networks:
authelia: authelia:
@ -87,3 +113,4 @@ networks:
volumes: volumes:
acme_data: acme_data:
authelia_data: authelia_data:
db:

Binary file not shown.