Loading files
5c2804327This file is pinned to the selected release. Download the original to open it in your design tool.
Files from this revision, including CAD and LFS contents. Git history is not included.
Or in GitHub Desktop, choose File → Clone repository → URL and paste this address.
Public repositories can be cloned without signing in. For pushing, use your ThingAtlas username and a Git access token as the password.
git lfs install git clone https://thingatlas.com/git/-unclaimed/hivehub-1225459033.git
Includes Git history, branches, and Git LFS files. Clones the repository’s default branch, regardless of the version shown here.
# Single, lightweight container: the HiveScale mock API with baked-in dummy
# data. No PostgreSQL required. Brings the interface up on http://localhost:31115
# (31115 mirrors the real HiveScale server's external port).
services:
hivescale-mock:
build: .
image: hivescale-mock:latest
ports:
- "31115:8000"
environment:
# Demo credentials - change them if you like, then use the same values
# in your HivePal config and in the curl/Swagger examples.
API_KEY: demo-device-key
HIVEPAL_SERVICE_API_KEY: demo-hivepal-service-key
DEMO_USER_ID: demo-user
# Dummy-data density in minutes between samples (lower = denser graphs,
# more memory). 30 -> ~24,800 points across 2025-01-01..2026-05-31.
INTERVAL_MINUTES: "30"
restart: unless-stopped
5c2804327This file is pinned to the selected release. Download the original to open it in your design tool.