Deploy the Console
This article is about enabling the console on a controller that is running in a container.
Configure the controller
The console's
zacbinding must be on the same web listener as the controller's management API, i.e., theedge-managementbinding.- binding: zac
options:
location: /ziti-console
indexFile: index.htmllocationis the filesystem path to the static files of the console. In the controller container, the usual path is/ziti-console.indexFileproperty is the entry point to the console.
To apply the changes, the controller must be restarted.
Visit the console at
/zac/on the controller's address.The console is now available at
https://<fqdn>:<port>/zac/.Log in to the console.
The only available authentication method for the console SPA is username and password.
Console certificate option - The console is served from the controller's API and can be used with the default API certificate. The controller can be configured to present a different certificate for the console when the API is accessed by a distinct URL for the console. For more information about using alternative server certs with the controller, see: the configuration reference for the
identityproperty.
Upgrade
The controller container includes the latest version of the console. You can instead mount console versions >= 3.0.0.
Download a release.
wget https://github.com/openziti/ziti-console/releases/latest/download/ziti-console.zipUnzip the static files and set read and list permission.
unzip -d ./ziti-console ./ziti-console.zip
chmod -R a+rX ./ziti-consoleMount the console files read-only on the controller container.
services:
ziti-controller:
volumes:
- ./ziti-console:/ziti-console:roRestart the controller service to apply the changes.
docker compose up ziti-controller --force-recreate