Docker compose
This article provides an introduction to running SIA Connect in Docker Compose
The Docker solution for SIA Connect comes orchestrated as a composer project which contains 3 images.
- Core (primary SIA Connect software)
- Database (MySQL database for configuration, data, etc.)
- Web (Apache2 for Web GUI portal)
In addition the solution also comes as a Docker single image containing all above components in one container and as Windows executables if you are new to Docker and need tools to simplify the management.
In this articles you learn how to run the solution orchestrated in a Docker composer project.
Download SIA Connect as Docker composer project
Sign-up for a free license
All installations comes with a free trial of 6 hours which can be restarted after a 30 minutes cooldown. You can extend your evaluation and get a free 30 days license by signing up at our website
Using the Docker composer
After downloaded the composer project you need to carry out the below instructions which we will walk through in details:
- Modify system password
- Executing the Docker composer project
- Updating images
Setting system password
The system password must be set as the first thing, before running the Docker composer project.
- 🗎 Open .env, which is the Docker composer environment file
- ✍🏻 Content looks something as below. Edit the parameter
DATABASEPASSWORD
to a suitable password.
DATABASEPASSWORD=secret_password
DATABASEHOST=siadatabase
Starting the composer
System password
Remember to change the default system password in .env before starting the Docker composer. See above steps
To start the Docker composer with the project run the below command:
docker compose -p sia_connect -f docker-compose.yml --env-file .env up -d
if you are on a Linux OS you can also execute the helper script included in the package:
./start_siaconnect.sh
If you need to run with a web database viewer, phpMyAdmin, you can start it in debug mode by added --profile debug
to the command.
Stopping the composer
To stop the container run the following command:
docker compose -p sia_connect stop
or if you are on Linux you can run the included helper script:
./stop_siaconnect.sh
Updating the composer images
When the image gets updated you will be noticed in the GUI portal, but in order to update the Docker images and afterwards recreate the container you will need to execute a few some Docker compose commands.
Stop the containers in the composer
docker compose -p sia_connect down
and pull the latest images. The composer project points to latest
tag of the images. If you need a specific version this should be specified in the docker-compose.yml file
docker compose -p sia_connect pull
or if you are on Linux you can run the included helper script to update the images:
./update_siaconnect.sh
Now you can start the Docker composer project again and the containers are updated with the latest images.