Monorepo for the Biologic edge service.
- Runs the Biologic machine edge service.
- Connects to NATS and translates commands into machine actions.
- Communicates with the Biologic device over the network (IP).
- Docker and Docker Compose installed
- Python 3.14+ and
uv(for baremetal mode) - Biologic device reachable on the network
From repo root:
cp edge/.env.example edge/.envEdit edge/.env and configure:
MACHINE_IDNATS_SERVERSBIOLOGIC_IP
All commands below are run from repo root.
Build and start:
docker compose -f edge/compose.yml up -d --buildView logs:
docker compose -f edge/compose.yml logs -fStop:
docker compose -f edge/compose.yml downFrom repo root:
uv sync --all-packages
uv run --package biologic-edge python edge/main.pyLogin:
echo $GITHUB_TOKEN | docker login ghcr.io -u USERNAME --password-stdinBuild:
docker compose -f edge/compose.yml buildPush:
docker push ghcr.io/PUDAP/biologic-edge:latestOr with Compose:
docker compose -f edge/compose.yml push- Docker build context is workspace root (
..inedge/compose.yml). - Dockerfile path is
edge/Dockerfile.