Local Docker Compose development loop for Eve-compatible apps, with handoff to staging deploys.
Install
npx skillscat add incept5/eve-skillpacks/eve-local-dev-loop Install via the SkillsCat registry.
SKILL.md
Eve Local Dev Loop (Docker Compose)
Use this skill to run and test the app locally with Docker Compose, then hand off to Eve for staging deploys.
Preconditions
- A
compose.yamlordocker-compose.ymlexists in the repo. - The Eve manifest (
.eve/manifest.yaml) reflects the same services and ports.
Local Run
# Start local services
docker compose up --build
# View logs
docker compose logs -f
# Stop and clean
docker compose down -vKeep Compose and Manifest in Sync
- Match service names and exposed ports between Compose and the Eve manifest.
- If a service is public in production, set
x-eve.ingress.public: truein the manifest. - Use
${secret.KEY}in the manifest and keep local values in.eve/dev-secrets.yaml.
Local Environment Variables
- Prefer
.envfor Compose and.eve/dev-secrets.yamlfor manifest interpolation. - Never commit secrets; keep
.eve/dev-secrets.yamlin.gitignore.
Promote to Staging
# Ensure profile and auth are set
eve profile use staging
eve auth status
# Set required secrets
eve secrets set API_KEY "value" --project proj_xxx
# Deploy to staging (requires --ref with 40-char SHA or a ref resolved against --repo-dir)
eve env deploy staging --ref main --repo-dir .
# If the environment has a pipeline configured, this triggers the pipeline.
# Use --direct to bypass pipeline and deploy directly:
eve env deploy staging --ref main --repo-dir . --directTrack the deploy job:
eve job list --phase active
eve job follow <job-id>
eve job result <job-id>If Local Works but Staging Fails
- Re-check manifest parity with Compose.
- Verify secrets exist in Eve (
eve secrets list). - Use
eve job diagnose <job-id>for failure details.