Commercial Tracardi with docker compose
This guide provides a brief introduction on how to install and test the commercial version of Tracardi using docker-compose. Please note that this installation is not intended for production use, but rather for testing purposes only.
In order to install commercial version you will need to log-in to docker hub with our credentials.
And paste the credentials that we have sent you.
Set up License Key
Then create a file .env-docker and paste the LICENSE in it:
When running linux:
Clone Tracardi API
Run docker compose (Dependencies)
Go to TRACARDI API folder, and run one line command:
Note
To run docker compose in the background add -d
to the command above.
Warning
Installed dependencies with the above docker compose may not have properly set storages so restarting will cause DATA LOSS.
Run docker compose (Tracardi)
Go to TRACARDI API folder, and run one line command:
Note
To run docker compose in the background add -d
to the command above.
Warning
Tracardi, to operate with its full range of features, requires the presence of specific crontab jobs. It's important to note that when using Docker Compose, these crontab jobs are not automatically included as part of the setup. Therefore, to ensure that Tracardi functions as intended, it is essential to perform an additional crontab installation.
Upgrading docker compose
- Stopping Docker Compose
Prior to upgrading, ensure that your Docker Compose configuration is not running. Execute the following command in your terminal:
- Pulling New Images
To upgrade to the latest version, fetch the latest Docker images for the components. Run the following commands in your terminal:
docker pull tracardi/tracardi-api:1.0.0
docker pull tracardi/tracardi-gui:1.0.0
docker pull tracardi/update-worker:1.0.0
docker pull tracardi/com-tracardi-api:1.0.0
docker pull tracardi/amp:1.0.0
docker pull tracardi/tms:1.0.0
docker pull tracardi/background-worker:1.0.0
docker pull tracardi/init:1.0.0
Handling Errors
If you encounter errors while bringing up the upgraded Docker Compose setup, it might be necessary to address these errors by deleting certain components. Follow the steps below:
- To stop all running containers (make sure that there are no other container running but the tracardi containers), execute:
- To delete unused containers, volumes, images, and networks, run: