Repository inventory

digitalocean-labs/do-app-platform-skills

Skills indexed from this repository, with install-style signals scoped to the repo.
8 skills8 GitHub stars0 weekly installsPythonGitHubOwner profile

Overview

This skill configures DigitalOcean Managed MySQL, MongoDB, Valkey (Redis), Kafka, and OpenSearch for App Platform applications. It guides cluster creation, trusted-source setup, bindable environment variables, and engine-specific connection patterns. Use it to attach non-Postgres managed databases to App Platform components and to troubleshoot common connectivity and permission issues.

How this skill works

The skill inspects the target engine and generates the correct databases: block for the app spec, ensuring production: true when bindable variables are required. It advises doctl commands for cluster/user/db creation and firewall rules, and explains how bindable variables map to runtime environment variables and connection strings. It also flags engine-specific constraints (trusted sources, build-time access, naming rules) and recommends VPC vs public rules where appropriate.

When to use it

  • Attaching MySQL, MongoDB, Redis (Valkey), Kafka, or OpenSearch clusters to App Platform services.
  • Setting trusted sources so apps can connect to managed database clusters.
  • Running migrations or PRE_DEPLOY jobs when build-time DB access is blocked by firewall rules.
  • Configuring bindable environment variables for runtime credentials and TLS certificates.
  • Troubleshooting connection errors, permission issues, or TLS/URL formatting problems.

Best practices

  • Set production: true in the databases: block to ensure bindable variables are populated.
  • Use VPC CIDR ip_addr rules for simpler, consistent trusted-source setup when possible.
  • Avoid relying on build-time DB access; use PRE_DEPLOY jobs for migrations when trusted sources block builds.
  • Remember Kafka only supports IP-based trusted-source rules; app: rules are not supported.
  • For VPC deployments, create separate private env vars if you need private hostnames; bindables return public hostnames.

Example use cases

  • Add a DigitalOcean Managed MySQL cluster to an API service and expose DATABASE_URL as a RUN_TIME env var.
  • Attach a MongoDB cluster, ensure db_user exists, and set MONGODB_URI from ${db.DATABASE_URL}.
  • Configure Valkey (Redis) for session caching using rediss:// URL and ${cache.DATABASE_URL}.
  • Deploy Kafka for eventing with VPC-based trusted sources and supply broker details via ${kafka.HOSTNAME}:${kafka.PORT}.
  • Provision OpenSearch for search indexing and provide basic-auth URL to the app while disabling logging to it if trusted sources are enabled.

FAQ

Bindable variables require production: true in the databases: block. Add production: true and redeploy to populate values.

Can my build step access the database during image build?

No—trusted sources block build-time access. Run migrations in a PRE_DEPLOY job or use a CI step with network access to the DB.

How do I connect to Kafka from an App Platform app?

Use VPC with ip_addr trusted-source rules since Kafka does not support app:$APP_ID rules. Supply HOSTNAME, PORT, USERNAME, PASSWORD, and CA_CERT to the app.

8 skills

managed-db-services
Cloud

This skill helps you configure DigitalOcean managed databases for non-PostgreSQL engines across MySQL MongoDB Valkey Kafka and OpenSearch.

DatabaseDevopsPythonPython
postgres
Cloud

This skill configures DigitalOcean Managed Postgres with secure schema isolation or bindable variables, simplifying multi-tenant setups and connectivity

DatabaseDevopsPythonSecurity+1
ai-services
Ai

This skill helps you configure DigitalOcean Gradient AI serverless inference and ADK-powered agents for seamless LLM deployment and integration.

AutomationCloudDevopsDocker+2
designer
Api

This skill converts natural language app descriptions into production-ready DigitalOcean App Platform specifications and deploy templates.

AutomationCloudDesignDevops+2
do-app-platform-skills
Automation

This skill routes DigitalOcean App Platform tasks to specialized sub-skills, optimizing workflows from design to deployment and troubleshooting.

CloudDebuggingDevopsMigration+2
deployment
Automation

This skill deploys apps to DigitalOcean App Platform using GitHub Actions, automating env management and secrets for CI/CD across staging and production.

Ci CdCloudDevopsPython+1
planner
Automation

This skill generates staged project plans from design to deployment, breaking complex App Platform projects into resumable steps for reliable execution.

Ci CdCloudDevopsPlanning+2
sandbox
Ai

This skill helps you create and manage isolated sandbox environments for safe AI agent code execution and iterative workflow testing.

CloudDevopsInfraPython+2
More from this maintainer
Other repositories and skills published under the same GitHub owner.
Skills library
Jump back to the full directory or explore grouped topics.
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational