Expand Docker deployment docs with bearer token explanation and link to Authelia config reference
This commit is contained in:
parent
0d86609798
commit
48d083c355
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue