docs: reference actual properties for enabling the traefik api and dashboard

This commit is contained in:
Jose Diaz-Gonzalez
2024-09-22 01:39:41 -04:00
parent 9ec7631540
commit 13fb40defd

View File

@@ -160,10 +160,10 @@ Traefik exposes an API and Dashboard, which Dokku disables by default for securi
> [!WARNING]
> Users enabling the dashboard should also enable api basic auth.
By default, the api is disabled. To enable, set the `api` property with the `--global` flag:
By default, the api is disabled. To enable, set the `api-enabled` property with the `--global` flag:
```shell
dokku traefik:set --global api true
dokku traefik:set --global api-enabled true
```
After enabling, the Traefik container will need to be restarted.
@@ -173,10 +173,10 @@ After enabling, the Traefik container will need to be restarted.
> [!WARNING]
> Users enabling the dashboard should also enable api basic auth.
By default, the dashboard is disabled. To enable, set the `dashboard` property with the `--global` flag:
By default, the dashboard is disabled. To enable, set the `dashboard-enabled` property with the `--global` flag:
```shell
dokku traefik:set --global dashboard true
dokku traefik:set --global dashboard-enabled true
```
After enabling, the Traefik container will need to be restarted.