Operations (Admin)
This page is the practical runbook for admins operating EZ Inventory with Docker.
Service Health
Check if services are up:
bash
docker compose psCheck API health endpoint:
bash
curl -s http://localhost:3001/api/v1/healthLogs
Follow app/API logs:
bash
docker compose logs -f app
docker compose logs -f apiUpdates and Rollouts
Pull latest changes and redeploy:
bash
git pull
docker compose up -d --buildRollback
Use your previous Git commit/tag and redeploy:
bash
git checkout <tag-or-commit>
docker compose up -d --buildEnvironment Management
Review these files before deployment:
.env.deploy.examplecompose.ghcr.yaml
Common sensitive values to set securely:
AUTH_ACCESS_TOKEN_SECRETAUTH_REFRESH_TOKEN_SECRET- database credentials
Backups
At minimum, back up:
- PostgreSQL data volume
- RustFS storage data
.envfiles and deployment manifests
References
- Release strategy: /release-strategy
- Architecture reference: /architecture