Expand Docker deployment docs with bearer token explanation and link to Authelia config reference

This commit is contained in:
root 2026-06-24 18:59:40 +00:00
parent 0d86609798
commit 48d083c355

View file

@ -55,7 +55,13 @@ docker compose up -d
| `9091` | Authelia web portal |
| `8080` | Authelia-API (user management API) |
The container handles first-time bootstrap automatically — the admin user is created using the `session.secret` value from your Authelia config as the API bearer token.
**First-time authentication**: The container creates an admin user automatically on startup by reading the `session.secret` from your Authelia config. Whatever value you set for `session.secret` in `configuration.yml` becomes your initial bearer token — there is nothing to fetch. For example:
```bash
curl -H "Authorization: Bearer your-session-secret-value" http://localhost:8080/api/health
```
**Authelia configuration reference**: The example file at `docker/configuration.yml.example` covers the essentials, but Authelia has many more options. See the [official Authelia configuration docs](https://www.authelia.com/configuration/) for details on secrets, domains, authentication backends, and access control rules.
### Development Installation