This page provides an example package for building This page provides instructions and sample scripts on how to build Cassandra and Teamwork Cloud containers the Install archive. These containers can be run on any orchestration platform together with WebApps to ensure easy Teamwork Cloud deployment.| Tip |
|---|
To build your Teamwork Cloud container, download the ZIP archive below: |
Creating a Docker imageTo create a Docker image Create a working directory image/ Extract the content of Teamwork Cloud No Install archive for Linux to image/ to create a folder named image/TeamworkCloudSuite/ | Info |
|---|
You can modify your configurations as needed: TeamworkCloudSuite/jvm.options TeamworkCloudSuite/configuration/application.conf TeamworkCloudSuite/configuration/logback.xml
|
-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 ComponentsDocker Hub Pulled Images: - Cassandra 4.0.3
- Zookeeper 3.7.0
- ZooNavigator 1.1.1 (elkozmon)
- Elasticsearch 7.16.2
External Packages: - Teamwork Cloud 2022x 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 |
|---|
The example package requires at least 32GB of available RAM. |
- Download and extract the example package into an empty working directory.
- Download a 2022x or newer version of Teamwork Cloud No-Install Linux package.
- Rename or symbolically link the no-install package to twcoudsuite.zip.
- Execute the config.twc-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:
Run the following command. Do not forget to add a space and a full stop at the end.| Code Block |
|---|
| language | bash |
|---|
| theme | DJango |
|---|
| linenumbers | true |
|---|
| docker |
buildt twcloud .You can choose a different image name, if necessary. Example with Docker Compose| Note |
|---|
This requires 12GB of RAM. | Create a working directory compose/Copy the content from image/TeamworkCloudSuite/configuration to compose/configurationModify configurations as needed:- configuration/application.conf
- configuration/logback.xml
In this sample, it is mandatory to modify configuration/application.conf as follows:- Change the key value esi.persistence.datastax-java-driver.basic.contact-points from 127.0.0.1:9042 to cassandra:9042
(Optional) You can modify the memory limits for Cassandra and Teamwork Cloud in docker-compose.ymlIf you execute this command for the first time, it will build the containers as well. - Use the following URLs:
Run the following command. Do not forget to add a space and a full stop at the end. |