From ff12756915d452e7b92959062ed6315adf0e424e Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 25 Feb 2021 12:19:18 +0330 Subject: added a new endpoint for changelly. added somewhat decent logging. cleaned up the code a bit. the secrets are all environment variables now since we want publicly availale CI. the api and postman docs are added. added travis integration. --- docker-entrypoint.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 docker-entrypoint.sh (limited to 'docker-entrypoint.sh') diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh new file mode 100755 index 0000000..6d88ff1 --- /dev/null +++ b/docker-entrypoint.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env sh +set -e + +export $(cat /run/secrets/tg_bot_token) +export $(cat /run/secrets/ch_api_key) +export $(cat /run/secrets/ch_api_secret) + +"/hived/hived" -- cgit v1.2.3