mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-05-13 19:00:22 +00:00
authelia introduced some breaking changes. this commit fixes the config
This commit is contained in:
parent
6f3a17d72e
commit
95bdfbecaf
@ -30,9 +30,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Dublin
|
- TZ=Europe/Dublin
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/lib/authelia
|
- ./config:/config
|
||||||
- ./config.yml:/etc/authelia/configuration.yml:ro
|
|
||||||
- ./users.yml:/etc/authelia/users.yml:ro
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
@ -48,19 +46,23 @@ services:
|
|||||||
- TZ=Europe/Dublin
|
- TZ=Europe/Dublin
|
||||||
```
|
```
|
||||||
|
|
||||||
## config.yml
|
## config/configuration.yml
|
||||||
```yml
|
```yml
|
||||||
|
server:
|
||||||
host: 0.0.0.0
|
host: 0.0.0.0
|
||||||
port: 9091
|
port: 9091
|
||||||
|
|
||||||
# log_level: debug
|
# log:
|
||||||
jwt_secret: DphJJcoCO2aXK666tq3d2AgMQ8gaugukKsUjKzMciA
|
# level: debug
|
||||||
|
|
||||||
|
jwt_secret: U8kmbel7WhP1YneQh2134DXhsiSHctE5Emtf
|
||||||
|
|
||||||
authentication_backend:
|
authentication_backend:
|
||||||
file:
|
file:
|
||||||
path: /etc/authelia/users.yml
|
path: /etc/authelia/users.yml
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
|
encryption_key: U8kmbel7WhP1YneQh2134DXhsiSHctE5Emtf
|
||||||
local:
|
local:
|
||||||
path: /var/lib/authelia/db.sqlite3
|
path: /var/lib/authelia/db.sqlite3
|
||||||
|
|
||||||
@ -93,7 +95,7 @@ access_control:
|
|||||||
policy: one_factor
|
policy: one_factor
|
||||||
```
|
```
|
||||||
|
|
||||||
## users.yml
|
## config/users.yml
|
||||||
```yml
|
```yml
|
||||||
users:
|
users:
|
||||||
admin:
|
admin:
|
||||||
|
Loading…
Reference in New Issue
Block a user