Skip to content

Commit

Permalink
change paths for authelia
Browse files Browse the repository at this point in the history
  • Loading branch information
SimpleHomelab committed Jun 18, 2020
1 parent 4830093 commit e504674
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions authelia/configuration.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ totp:

authentication_backend:
file:
path: /etc/authelia/users_database.yml
path: /config/users_database.yml
# customize passwords based on https://docs.authelia.com/configuration/authentication/file.html
password:
algorithm: argon2id
Expand Down Expand Up @@ -80,7 +80,7 @@ regulation:
storage:
# For local storage, uncomment lines below and comment out mysql. https://docs.authelia.com/configuration/storage/sqlite.html
# local:
# path: /var/lib/authelia/db.sqlite3
# path: /config/db.sqlite3
mysql:
# MySQL allows running multiple authelia instances. Create database and enter details below.
host: MYSQL_HOST
Expand Down
8 changes: 3 additions & 5 deletions docker-compose-t2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ services:
# ports:
# - "9091:9091"
volumes:
- $USERDIR/docker/authelia/authelia:/var/lib/authelia
- $USERDIR/docker/authelia/configuration.yml:/etc/authelia/configuration.yml:ro
- $USERDIR/docker/authelia/users_database.yml:/etc/authelia/users_database.yml
- $USERDIR/docker/authelia:/config
environment:
- TZ=$TZ
labels:
Expand All @@ -188,8 +186,8 @@ services:
- t2_proxy
security_opt:
- no-new-privileges:true
# ports:
# - "$PORTAINER_PORT:9000"
ports:
- "$PORTAINER_PORT:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- $USERDIR/docker/portainer/data:/data # Change to local directory if you want to save/transfer config locally
Expand Down

0 comments on commit e504674

Please sign in to comment.