Page History
| Warning |
|---|
| These procedures are intended for users with Docker knowledge. We do not provide Docker support, just provide guidelines on how to use it with our product. For more information about Docker, see https://docs.docker.com/ |
On this page
| Table of Contents |
|---|
Example package
This page provides an example package for building Cassandra and Teamwork Cloud components from a Teamwork Cloud No-Install package. The example package uses Docker Compose to build all the components required to deploy a fully-functional Teamwork Cloud containerized environment. Such an environment can be deployed in an orchestration framework to enhance scaling and management.
Teamwork Cloud Container Example Package Components
Docker Hub Pulled Images:
- Cassandra 4.1.1
- Zookeeper 3.7.0
- ZooNavigator 1.1.1 (elkozmon) (optional)
- Elasticsearch 7.16.2
External Packages:
- Teamwork Cloud 2024x Refresh2 No-Install Linux (downloaded from the 3DS software download page)
- ActiveMQ Artemis 2.26.0 (downloaded automatically after executing the containerization environment staging script)
Example with Docker Compose
| Note |
|---|
|
- Install unzip package by executing the following command:
Code Block language text linenumbers true sudo apt-get install unzip - Install the Java SDK package by executing the following command:
Code Block language text linenumbers true sudo apt-get install openjdk-17-jdk - Download and extract the example package into an empty working directory.
- Download a 2024x or later version of the Teamwork Cloud No-Install Linux package.
- Rename or symbolically link the no-install package to twcloudsuite.zip.
- Execute the config.tw-compose.sh script to stage the containerization environment.
Run the following command to initialize Docker Compose container configurations:
Code Block language bash theme DJango linenumbers true docker compose build
Run the following command to launch containers:
Code Block language bash theme DJango linenumbers true docker compose up -d
If you execute this command for the first time, it will build the containers as well.
- Use the following URLs:
To access web UI:
Code Block language bash https://host.docker.internal:8443/webapp
To connect from a modeling tool client (with default port 3579):
Code Block language bash host.docker.internal
To access REST API/Swagger Page:
Code Block language bash https://host.docker.internal:8111
| Info |
|---|
You can apply the Teamwork Cloud license via the web UI or REST API. |
Helpful commands
To follow the output (tail) the output of a specific container:
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
docker compose logs -f <Container Name or ID> |
To stop all containers but retain data in non-persistent storage:
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
docker compose stop |
To stop all and remove all running containers (non-persistent storage data will be lost):
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
docker compose down -v |