...
3.5. Deploying the collector: available services
3.5.1. Docker
Execute the following command on the root directory <any_directory>/devo-collectors/devo-<integration>-collector-<number>/ Code Block |
---|
docker run \
--name devo-<integration>-collector-<number> \
--volume $PWD/certs:/devo-collector/certs \
--volume $PWD/config:/devo-collector/config \
--volume $PWD/state:/devo-collector/state \
--env CONFIG_FILE=config-generic.yaml \
--rm -it devo.com/collectors/generic-collector:<version> |
Note |
---|
Replace <version> with the corresponding value. |
|
3.5.2. Docker-Compose
The content of the docker-compose-yaml
file below can be used to execute the Docker container, and it should be created inside the <any_directory>/devo-collectors/devo-<integration>-collector-<number>/
directory:
...