aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose-test.yaml
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-03-31 14:40:49 +0000
committerterminaldweller <devi@terminaldweller.com>2024-03-31 14:40:49 +0000
commit911bda1b171a6a25cdb09b839b035e195e95ed41 (patch)
tree6c902d24fcc844e2d0b8907c5dbd09a8b7e66914 /docker-compose-test.yaml
parentadded new ticker endpoint that periodically sends crypto prices over telegram (diff)
downloadhived-tmp.tar.gz
hived-tmp.zip
changed redis to keydbtmp
Diffstat (limited to 'docker-compose-test.yaml')
-rw-r--r--docker-compose-test.yaml20
1 files changed, 6 insertions, 14 deletions
diff --git a/docker-compose-test.yaml b/docker-compose-test.yaml
index 75ff334..12c1cc6 100644
--- a/docker-compose-test.yaml
+++ b/docker-compose-test.yaml
@@ -1,12 +1,10 @@
-version: "3.4"
+version: "3.9"
services:
hived:
image: hived
build:
context: ./hived
secrets:
- - ch_api_key
- - ch_api_secret
- tg_bot_token
networks:
- mainnet
@@ -14,7 +12,7 @@ services:
ports:
- "10008:8008"
depends_on:
- - redis
+ - keydb
- telebot
entrypoint: ["/hived/docker-entrypoint.sh"]
cap_drop:
@@ -49,8 +47,8 @@ services:
- ALL
environment:
- SERVER_DEPLOYMENT_TYPE=test
- redis:
- image: redis:6.2-alpine
+ keydb:
+ image: eqalpha/keydb:alpine_x86_64_v6.3.4
networks:
- mainnet
ports:
@@ -58,18 +56,12 @@ services:
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- - redis-data:/data/
+ - keydb-data:/data/
networks:
mainnet:
- driver: bridge
telenet:
- driver: bridge
secrets:
tg_bot_token:
file: ./tgtoken
- ch_api_key:
- file: ./changelly_api_key
- ch_api_secret:
- file: ./changelly_api_secret
volumes:
- redis-data:
+ keydb-data: