tree: 9e41237c57f706d12c7fd4b98af04bb1c90f56c0 [path history] [tgz]
  1. apache-proxy/
  2. tomcat/
  3. docker-compose.yml
  4. readme.md
tobago-example/tobago-example-demo/src/main/tobago-vm/docker/readme.md

Run the different Tobago versions on tobago-vm.apache.org

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/.

Initial installation

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

Simple Update (only restart needed containers)

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

Full Update

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