eve-local-dev-loop
98
总安装量
17
周安装量
#4370
全站排名
安装命令
npx skills add https://github.com/incept5/eve-skillpacks --skill eve-local-dev-loop
Agent 安装分布
codex
17
gemini-cli
17
claude-code
17
mcpjam
3
openhands
3
zencoder
3
Skill 文档
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 -v
Keep 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 . --direct
Track 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.