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-compose.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'docker-compose.yaml') diff --git a/docker-compose.yaml b/docker-compose.yaml index 4285550..0b33516 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -7,6 +7,7 @@ services: secrets: - tg_bot_token - ch_api_key + - ch_api_secret networks: - hivednet restart: unless-stopped @@ -14,6 +15,7 @@ services: - "8008:8008" depends_on: - redis + entrypoint: /hived/docker-entrypoint.sh redis: image: redis:6.2-alpine networks: @@ -27,10 +29,15 @@ services: - redis-data:/data/ networks: hivednet: + driver: bridge + routenet: + driver: bridge secrets: tg_bot_token: - file: ./tgtoken.json + file: ./tgtoken ch_api_key: - file: ./changelly_api_key.json + file: ./changelly_api_key + ch_api_secret: + file: ./changelly_api_secret volumes: redis-data: -- cgit v1.2.3