diff options
author | Farzad Sadeghi <thabogre@gmail.com> | 2021-12-14 17:25:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-14 17:25:09 +0000 |
commit | 5290f1f5ef81e776ca59f08e7fbf58c02e647288 (patch) | |
tree | f07b88aab5f13975e327376f1e9e16f59cdf6144 /docker-compose.yaml | |
parent | added a codacy badge (diff) | |
parent | fixed the ip and address for the grpc server (diff) | |
download | hived-5290f1f5ef81e776ca59f08e7fbf58c02e647288.tar.gz hived-5290f1f5ef81e776ca59f08e7fbf58c02e647288.zip |
Merge pull request #4 from terminaldweller/grpc
Grpc
Diffstat (limited to 'docker-compose.yaml')
-rw-r--r-- | docker-compose.yaml | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml index 8a404a1..90ff90d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,32 +3,58 @@ services: hived: image: hived build: - context: ./ + context: ./hived secrets: - - tg_bot_token - ch_api_key - ch_api_secret + - tg_bot_token networks: - - hivednet + - mainnet + - telenet restart: unless-stopped ports: - "8008:8008" depends_on: - redis - entrypoint: /hived/docker-entrypoint.sh + - telebot + entrypoint: ["/hived/docker-entrypoint.sh"] + volumes: + - /etc/letsencrypt/archive/api.terminaldweller.com/:/certs/ + cap_drop: + - ALL + environment: + - SERVER_DEPLOYMENT_TYPE=deployment + telebot: + image: telebot + build: + context: ./telebot + secrets: + - tg_bot_token + networks: + - telenet + restart: unless-stopped + ports: + - "127.0.0.1:9009:8000" + entrypoint: ["/telebot/docker-entrypoint.sh"] + cap_drop: + - ALL + environment: + - SERVER_DEPLOYMENT_TYPE=deployment redis: image: redis:6.2-alpine networks: - - hivednet + - mainnet restart: unless-stopped ports: - - "6379:6379" + - "127.0.0.1:6379:6379" environment: - ALLOW_EMPTY_PASSWORD=yes volumes: - redis-data:/data/ networks: - hivednet: + mainnet: + driver: bridge + telenet: driver: bridge secrets: tg_bot_token: |