Skip to content

Commit

Permalink
chore: updates docs to have secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Jan 8, 2025
1 parent 2f0dd4f commit 45ac874
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/guide/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,23 @@ users:

:::

Dozzle uses [JWT](https://en.wikipedia.org/wiki/JSON_Web_Token) to generate tokens for authentication. This token is saved in a cookie.
Or using Docker secrets:

```yaml
services:
dozzle:
image: amir20/dozzle:latest
environment:
- DOZZLE_AUTH_PROVIDER=simple
secrets:
- source: users
target: /data/users.yml
volumes:
- /var/run/docker.sock:/var/run/docker.sock
secrets:
users:
file: users.yml
```

### Extending Authentication Cookie Lifetime

Expand Down

0 comments on commit 45ac874

Please sign in to comment.