diff options
author | terminaldweller <thabogre@gmail.com> | 2021-12-13 18:57:02 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-12-13 18:57:02 +0000 |
commit | a963b5272b30978927d5b3a6dc1a39abca38548d (patch) | |
tree | 16f44c11709c4e52be2a4b4623e3bb0956c0f6a8 /docker-compose-test.yaml | |
parent | restructuring WIP (diff) | |
download | hived-a963b5272b30978927d5b3a6dc1a39abca38548d.tar.gz hived-a963b5272b30978927d5b3a6dc1a39abca38548d.zip |
grpc for telebot. untested. [WIP]
Diffstat (limited to '')
-rw-r--r-- | docker-compose-test.yaml | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/docker-compose-test.yaml b/docker-compose-test.yaml index 5040b2d..a58d904 100644 --- a/docker-compose-test.yaml +++ b/docker-compose-test.yaml @@ -3,19 +3,34 @@ services: hived: image: hived build: - context: ./ + context: ./hived secrets: - - tg_bot_token - ch_api_key - ch_api_secret networks: - - hivednet - restart: unless-stopped + - mainnet + - telenet ports: - "8008:8008" depends_on: - redis - entrypoint: /hived/docker-entrypoint.sh + - telebot + entrypoint: ["/hived/docker-entrypoint.sh"] + cap_drop: + - ALL + environment: + - SERVER_DEPLOYMENT_TYPE=test + telebot: + image: telebot + build: + context: ./telebot + secrets: + - tg_bot_token + networks: + - telenet + ports: + - "9009:9009" + entrypoint: ["/telebot/docker-entrypoint.sh"] cap_drop: - ALL environment: @@ -23,8 +38,7 @@ services: redis: image: redis:6.2-alpine networks: - - hivednet - restart: unless-stopped + - mainnet ports: - "6379:6379" environment: @@ -32,8 +46,10 @@ services: volumes: - redis-data:/data/ networks: - hivednet: + mainnet: driver: bridge + telenet: + driver: brige secrets: tg_bot_token: file: ./tgtoken |