Hyperglance is deployed as a VM image with 2 volumes attached. One for the Operating System and one for data.
The system comprises multiple docker containers; HTTPD, Wildfly and PostgreSQL. These are governed by a Docker Compose file located at: /etc/docker-compose.yml.
It also makes upgrading to newer versions very easy.
Here are the locations of all the important system files for Hyperglance. These are all locations on the host VM and can also be found by examining the contents of the docker-compose.yml file:
Docker Compose file:
Main configuration file:
Database (storing account credentials, tag-views, collection configuration and API registrations):
These commands may come in useful from time to time as you are managing or scripting your Hyperglance deployment environment:
Pull latest containers from repo:
sudo docker-compose -f /etc/docker-compose.yml pull
Update Hyperglance with new containers:
sudo docker-compose -f /etc/docker-compose.yml up -d
Display running containers:
sudo docker ps
Restart a docker container by name (e.g. wildfly):
sudo docker restart wildfly
Stop a docker container by name (e.g. wildfly):
sudo docker stop wildfly
Start a docker container by name (e.g. wildfly):
sudo docker start wildfly
List docker images:
sudo docker image ls
Remove a docker image:
sudo docker image rm 8f79a9884195