Edge service for the Centrifuge machine.
- Runs the centrifuge machine edge service.
- Connects to NATS and translates commands into machine actions.
- Communicates with the centrifuge device over the network (IP).
- Docker and Docker Compose installed
- Python 3.14+ and
uv(for baremetal mode) - centrifuge device reachable on the network
cp .env.example .envEdit .env and configure:
MACHINE_IDNATS_SERVERSWS_URL
Build and start:
docker compose up -d --buildView logs:
docker compose logs -fStop:
docker compose downuv sync
uv run python main.pyLogin:
echo $GITHUB_TOKEN | docker login ghcr.io -u USERNAME --password-stdinBuild:
docker compose buildPush:
docker push ghcr.io/PUDAP/centrifuge-edge:latestOr with Compose:
docker compose push