Installation instructions#

The application is typically installed using a docker image. Other installation types will be available in the future.

Docker#

To install the application with docker you need to create two volumes first:

namepathdescription
config/configContains the application settings.
manifests/dataContains the manifest files

As a simple ApplicationSettings.yaml file you can use the following:

1Logging:
2  LogToConsole: true
3  MinimumLogLevel: Information  

If no log file is found the application creates a new ApplicationSettings.yaml file using default values in the /config path.

Copy your manifest file in the data directory and name it Manifest.yaml.

With that we can now start the docker container via:

1docker run -d \
2  --restart=always \
3  -v MyVolume/config:/config \
4  -v MyVolume/manifests:/data \
5  "osgaga/mqtt2otel:latest"

or if you are using docker-compose:

1version: "3.9"
2
3services:
4  mqtt2otel:
5    container_name: mqtt2otel
6    image: "osgaga/mqtt2otel"
7    volumes:
8      - ./config:/config
9      - ./manifests:/data

and then

1docker-compose up -d