helium iot multi-buy service. Additional API with ability to deny by region, hotspot or both.
317
forked from macpie with additional features added to be more user friendly.
current tracking current feature branch ccall48/multibuy-service
mkdir -p multibuy-service/multibuy-data \
cd multibuy-service
Copy bellow compose file as a starting point...
services:
helium-multibuy-service:
image: ccall48/helium-multibuy-service:latest
container_name: helium-multibuy-service
restart: unless-stopped
ports:
- 6080:6080/tcp
- 127.0.0.1:6081:6081/tcp
- 127.0.0.1:19011:19011/tcp
volumes:
- ./multibuy-data:/app/data
environment:
- MB__LOG=INFO
- MB__GRPC_LISTEN=0.0.0.0:6080
- MB__METRICS__ENDPOINT=0.0.0.0:19011
- MB__CLEANUP_TIMEOUT=30 minutes
# - MB__DENIED_HOTSPOTS=
# - MB__DENIED_REGIONS=KR920,IN865,...
- MB__API__ENABLED=true
- MB__API__LISTEN=0.0.0.0:6081
- MB__API__AUTH_TOKEN=change-me
# MB__DENY_LIST_STORE omitted — image already points at /app/data/deny-list.json
Denied regions and hotspots will be stored in multibuy-data/deny-list.json so previous denied regions and hotspots survive container rebuilds.
Webui should be available at http://localhost:port or http://ip:port use the token you set to access page and make changes via api -> token set at MB__API__AUTH_TOKEN or remove and not set for no auth (untested).
Content type
Image
Digest
sha256:e450b449e…
Size
37.5 MB
Last updated
about 1 month ago
docker pull ccall48/helium-multibuy-service