Set up local development environments with production parity for DigitalOcean App Platform. Use when setting up local dev, adding devcontainer to a project, running App Platform apps locally, or configuring backing services (Postgres, Redis, Kafka, S3).
Part of the App Platform Skills Package.
Enable local development with production parity for DigitalOcean App Platform applications.
All devcontainer templates, docker-compose configurations, and test scripts live in the GitHub repo:
${DEVCONTAINER_REPO_URL} (default: https://github.com/bikramkgupta/do-app-devcontainer)
This skill provides instructions on how to use them, not duplicate copies.
Note:
DEVCONTAINER_REPO_URLis configured in the SKILL.md frontmatter. Override it there if the repo moves.
skills/dev-containers/
├── SKILL.md # Complete skill documentation (agent instructions)
└── README.md # This file (quick reference)
.devcontainer/
├── devcontainer.json # IDE configuration
├── docker-compose.yml # All 7 backing services
├── init.sh # Git worktree support
├── post-create.sh # Post-creation setup
├── docs/ # Additional documentation
├── images/ # Architecture diagrams
└── tests/ # Service connectivity tests (77 tests)
├── agent-test.sh # E2E validation for agents
├── run-all-tests.sh # Master test runner
└── test-*.sh # Individual service tests
git clone --depth 1 ${DEVCONTAINER_REPO_URL}.git /tmp/refcp -r /tmp/ref/.devcontainer /path/to/your-project/COMPOSE_PROFILES in devcontainer.json| Service | Profile | Port | Connection |
|---------|---------|------|------------|
| PostgreSQL 18 | postgres | 5432 | postgresql://postgres:password@postgres:5432/app |
| MySQL 8 | mysql | 3306 | mysql://mysql:mysql@mysql:3306/app |
| MongoDB 8 | mongo | 27017 | mongodb://mongodb:mongodb@mongo:27017/app?authSource=admin |
| Valkey 8 | valkey | 6379 | redis://valkey:6379 |
| Kafka 7.7 | kafka | 9092 | kafka:9092 |
| OpenSearch 3.0 | opensearch | 9200 | http://opensearch:9200 |
| RustFS (S3) | minio | 9000/9001 | http://minio:9000 |
After generating devcontainer files, agents should verify the setup works:
# Quick E2E test from host (after copying .devcontainer from repo)
.devcontainer/tests/agent-test.sh
This script:
devcontainer upSee SKILL.md for detailed agent verification workflow.
npx skills add digitalocean-labs/devcontainers下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer