Docker Compose
CasaVue is ment to be a index frontpage for applications hosted on a Kubernetes instance. Nevertheless, it can be run on Docker alone.
Dynamic discovery of items works only with Kubernetes. While running on plain Docker, items displayed on CasaVue may only be set using YAML configuration file.
Docker-compose file is available to ease the process of starting and configuring CasaVue.
Usage
Create a new directory in your workspace and download docker-compose.yaml
file for CasaVue App:
Running main service
Starting service
Viewing and following logs
Stoping service
Editing configuration
Configuration files with default content are created upon first application run in /app/config/
path inside container.
To edit main.yaml
config file you would:
- Copy
main.yaml
file from container to local folder: - Edit
main.yaml
file with your favourite editor. - Copy
main.yaml
file back to container:
Same procedure works for editing items.yaml
file.
Static mode
For whatever reason should you want to render CasaVue dashboard to HTML static content (e.g. for hosting on GitHub Pages), you can use CasaVue static generation mode.
Generating static dashboard webpage:
Directory dist
should be created and contain generated static webpage.
While being inside it, start HTTP server to test dashboard, for example:
There is more to choose from big list of http static server one-liners .
Compose file
For better understaning in case of advanced users, here is the content of CasaVue docker compose file: