aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-02-23 10:01:14 +0000
committerterminaldweller <thabogre@gmail.com>2021-02-23 10:01:14 +0000
commitc2b3c437772df57162385555933aac440308b31c (patch)
treeee0160dad06e1cf4e331d88836e1aae8be05721d /docker-compose.yaml
parentforgot to add the parser... (diff)
downloadhived-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.yaml17
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: