Devo Relay scoja based docker project
Project to deploy a Relay using docker without to be necessary install anything.
To connect to relay just send your event to localhost at default ports 12999/13002
The compose is ready to share ports from 12999 to 13030 to cover more needs than default ports
The first time when your run the docker Relay, remember to active the relay in Devo Website
Clone or download the repository.
Be sure that conf/docker-start has executable permissions after uncompress or clone the repository
- LOGTRUST_WEB = https://eu.devo.com | https://us.devo.com | https://es.devo.com | ... (Devo web)
- LOGTRUST_ENDPOINT = eu.elb.relay.logtrust.net | us.elb.relay.logtrust.net | ... (Devo elb)
- LOGTRUST_PORT = 443 | 6514 | 877 | ... (listening port of Devo elb)
- RELAY_NAME = The_name_for_your_relay
- RELAY_APIKEY = YOUR_API_KEY from your domain when you want to send events
- SELFSIGNED=1 Uncomment this environtment variable in docker-devo-relay.yml if you are connecting the relay to endpoint/web with selfsigned certificates
- Run:
DCKHUB=devoinc/ docker-compose -f docker-devo-relay.yml up -d
- Stop:
docker-compose -f docker-devo-relay.yml down
-
Check relay using simple command
- for i in
( date --iso-8601=seconds ) docker-relay test.keep.free: Docker Devo-Relay test event # $i" | nc -N localhost 13000 ; done - Check your test.keep.free table to see the events
- for i in
-
HowTo connect the container
- docker exec -it Devo-Relay /bin/bash
-
Run relay without compose and without to use this repository:
docker run -it -p 12999-13030:12999-13030 -e LOGTRUST_WEB=https://eu.devo.com -e LOGTRUST_ENDPOINT=eu.elb.relay.logtrust.net -e RELAY_NAME=docker-relay-domain_name -e RELAY_APIKEY=YOUR_API_KEY --name Devo-Relay -v "$your_path_keys:/etc/logtrust/scoja/current/keys" -v "$your_path_logs:/var/log" -v "$your_path_relay-data:/opt/devo/relay-data" -v "$your_path_rules:/etc/logtrust/scoja/current/rules" -v "$your_path_unrules:/etc/logtrust/scoja/current/unrules" devoinc/devo-relay:1.1.6 /opt/devo/run/docker-start
- Set correct values for:
- LOGTRUST_WEB
- LOGTRUST_ENDPOINT
- RELAY_NAME
- RELAY_APIKEY
- $your_path_xxx (absolute path required)
-
Set proxy values in docker-devo-relay.yml if it's necessary for your network. Default "" is not applied:
- PROXY_HOST=""
- PROXY_PORT=""
- PROXY_USER=""
- PROXY_PASS=""
-
You can download the image using:
docker pull devoinc/devo-relay:1.1.6
jordilobo | jordi.lobo@devo.com
You can contact with us at support@devo.com.
This project is licensed under the MIT License - see the LICENSE file for details