The demo on tobago-vm works with docker. Each user with an account on the vm and member of the docker group can manage the containers.
How to become root access is described on the Apache site.
There is a copy of the source code repo of Tobago in the directory /opt/docker/tobago/
which contains the docker-compose configuration in tobago-example/tobago-example-demo/src/main/tobago-vm/docker/
.
Copy these file to the server and login there:
ssh tobago-vm.apache.org cd /opt/docker git clone https://github.com/apache/myfaces-tobago tobago chmod o+w -R tobago cd /opt/docker/tobago/tobago-example/tobago-example-demo/src/main/tobago-vm/docker/ docker-compose up -d
only minor changes like version, or staging for votes:
cd /opt/docker/tobago/tobago-example/tobago-example-demo/src/main/tobago-vm/docker/ git pull --rebase docker-compose build docker-compose up -d
Update, rebuild, run:
cd /opt/docker/tobago/tobago-example/tobago-example-demo/src/main/tobago-vm/docker/ git pull --rebase docker-compose down docker pull tomcat:8.5-jre8 docker pull debian:stable-slim docker-compose build docker-compose up -d