Running the ThingWorx Docker Image in an HA Cluster
To start, stop, or check the Compose environment for an HA cluster, navigate to the folder of your preferred persistence provider and execute the following commands, as needed, from one of the clustered sub-folders (such as docker-compose-postgres-clustered):
• Start a full cluster:
docker compose up -d
• Start only specified services (still respects docker-compose.override.yml dependencies):
docker compose up -d postgresql ignite zookeeper platform1
• Check container logs:
docker compose logs -f platform1
• Stop and remove a specific container:
docker compose rm -s ignite
• Stop and remove all containers:
docker compose down
• Stop and remove all containers and clean volumes (cleans the database, removes /ThingWorxStorage, etc.):
docker compose down -v