|
ClientApp Tools Documentation
|
This guide provides instructions for configuring and deploying client applications on the Signalytic Platform using Docker Compose.
It also covers how to build and package application images for deployment on supported devices (e.g., DevKit).
Clients should structure their Docker Compose setup as shown below. All service-related configuration files and resources must be placed under the /resources/service/ directory and properly referenced in the docker-compose.yml file.
Notes:
The following scripts are provided to simplify image building and package creation processes:
| Script | Description |
|---|---|
build-image | Builds and pushes Docker images to the Signalytic Image Registry. |
package | Pulls all Docker images (defined in docker-compose.yml) and related resources into an installable build for a target platform (arm64 or amd64). |
Use the build-image script to build and push your application images to the Signalytic registry.
Example:
All specified images will be pushed to: registry.gitlab.com/signalytic/client-external/<PROJECT> Flags:
-v : Specify image version tag-f: Path to Dockerfilep: Push image to remote registry.The package script creates an installable package for your application. This package contains:
To generate a build package, run:
The output package will be saved under the build-packages/ directory.
Once the package is generated, transfer it to the target edge device (e.g., DevKit).
Then, extract and install it using the provided installation script:
This will automatically deploy all services defined in your Docker Compose setup.
Project updates and commits can be staged under: /var/signalytic/repo/<PROJECT>/
Developers with access to the VM can:
This ensures version control, consistency, and smooth delivery of updates to edge devices.
| Task | Script | Description |
|---|---|---|
| Build and push Docker images | build-image -v <VERSION> -f <DOCKERFILE> -p | Uploads images to the registry |
| Create installable package | package | Builds an edge installation package |
| Install on device | ./install.sh | Deploys the client application |
| Stage updates | /var/signalytic/repo/<PROJECT>/ | Manage source updates and MR |