aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose-test.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-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: