diff options
author | terminaldweller <thabogre@gmail.com> | 2021-02-23 10:01:14 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-02-23 10:01:14 +0000 |
commit | c2b3c437772df57162385555933aac440308b31c (patch) | |
tree | ee0160dad06e1cf4e331d88836e1aae8be05721d /docker-compose.yaml | |
parent | forgot to add the parser... (diff) | |
download | hived-c2b3c437772df57162385555933aac440308b31c.tar.gz hived-c2b3c437772df57162385555933aac440308b31c.zip |
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.
Diffstat (limited to 'docker-compose.yaml')
-rw-r--r-- | docker-compose.yaml | 17 |
1 files changed, 16 insertions, 1 deletions
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: |