Docker Deployment
Run Fungi in a container.
Build Image
# Local build (requires x86_64)
docker build -t fungi-server:latest .
# Remote build (for ARM hosts)
./scripts/build-remote.sh user@x86-server
# Fast build with persistent cache (95s with warm cache)
./scripts/build-fast.sh
Run Container
docker run -d \
--name fungi-server \
-p 50051:50051 \
-p 8080:8080 \
-v /data/fungi:/data \
-e FUNGI_AUTH_ENABLED=true \
-e FUNGI_ADMIN_USERNAME=admin \
-e FUNGI_ADMIN_PASSWORD=admin123 \
fungi-server:latest
Verify
curl http://localhost:8080/health
Environment Variables
See Configuration for the full list.
Next Steps
- Kubernetes — orchestrated production deployment