From c2b3c437772df57162385555933aac440308b31c Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 23 Feb 2021 13:31:14 +0330 Subject: removed the expression parser. using a lib now. the addalert endpoint is working. alert messages about fullfilment in tg now. using redis as db to keep the alerts in. --- docker-compose.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'docker-compose.yaml') diff --git a/docker-compose.yaml b/docker-compose.yaml index 9495faf..4285550 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,4 +1,4 @@ -version: "3.8" +version: "3.4" services: hived: image: hived @@ -12,6 +12,19 @@ services: restart: unless-stopped ports: - "8008:8008" + depends_on: + - redis + redis: + image: redis:6.2-alpine + networks: + - hivednet + restart: unless-stopped + ports: + - "6379:6379" + environment: + - ALLOW_EMPTY_PASSWORD=yes + volumes: + - redis-data:/data/ networks: hivednet: secrets: @@ -19,3 +32,5 @@ secrets: file: ./tgtoken.json ch_api_key: file: ./changelly_api_key.json +volumes: + redis-data: -- cgit v1.2.3