API Server: Dockerfile and deployment #11

Closed
opened 2026-03-05 18:45:13 -06:00 by jeremy · 0 comments
Owner

Package the API server (central aggregator + static file server) as a Docker image and deploy to hf-pdocker-01.

Tasks

  • Write Dockerfile (Python 3.12-slim, FastAPI + uvicorn + static file serving)
  • Write docker-compose.yml for API server on hf-pdocker-01
  • Expose on port 8888
  • Mount /data volume for groups.json persistence
  • Environment variables: NODE_AGENT_URLS, LOG_LEVEL
  • Deploy to hf-pdocker-01 (192.168.86.192)
  • Verify dashboard loads at http://192.168.86.192:8888
  • Add Traefik labels for optional reverse proxy access

Notes

  • API server does NOT need Docker socket access (only node agents do)
  • Static files (HTML/CSS/JS) served from /app/static/
Package the API server (central aggregator + static file server) as a Docker image and deploy to hf-pdocker-01. ## Tasks - [ ] Write Dockerfile (Python 3.12-slim, FastAPI + uvicorn + static file serving) - [ ] Write docker-compose.yml for API server on hf-pdocker-01 - [ ] Expose on port 8888 - [ ] Mount /data volume for groups.json persistence - [ ] Environment variables: NODE_AGENT_URLS, LOG_LEVEL - [ ] Deploy to hf-pdocker-01 (192.168.86.192) - [ ] Verify dashboard loads at http://192.168.86.192:8888 - [ ] Add Traefik labels for optional reverse proxy access ## Notes - API server does NOT need Docker socket access (only node agents do) - Static files (HTML/CSS/JS) served from /app/static/
jeremy added this to the v1.0 milestone 2026-03-05 18:45:13 -06:00
jeremy added the infrastructure label 2026-03-05 18:45:13 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jeremy/farm-manager#11