A service meant to handle fitbit data events and store them in an elasticsearch index
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

54 lines
1.0 KiB

---
version: "3.7"
services:
fitbit-listener:
image: "fitbit-listener:latest"
build:
context: .
dockerfile: Dockerfile.listener
expose:
- "8008"
ports:
- "8008:8008"
restart: always
environment:
- NATS_HOST=nats-main
- SUBSCRIBER_VERIFICATION_CODE=valid
depends_on:
- nats-main
networks:
- fitbit
fitbit-worker:
image: "fitbit-worker:latest"
build:
context: .
dockerfile: Dockerfile.worker
restart: always
depends_on:
- nats-main
environment:
- NATS_HOST=nats-main
networks:
- fitbit
fitbit-discordworker:
image: "fitbit-discordworker:latest"
build:
context: .
dockerfile: Dockerfile.discordworker
restart: always
depends_on:
- nats-main
environment:
- NATS_HOST=nats-main
- "DISCORD_WEBHOOK_URL="
networks:
- fitbit
nats-main:
image: "nats:1.3.0-linux"
restart: always
networks:
- fitbit
networks:
fitbit:
external: false