sealos-database

Provision and connect Sealos Cloud databases via sealos-cli with env vars.

69|18|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/labring/sealos-skills --skill sealos-database
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sealos-database
Source: https://github.com/labring/sealos-skills/tree/main/skills/sealos-database
Command: npx skills add https://github.com/labring/sealos-skills --skill sealos-database

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Provision, connect, and operate Sealos Cloud databases for local development, Devbox workflows, and app setup. When a project needs a cloud database (PostgreSQL, MySQL, MongoDB, Redis, or other Sealos databases), or requires environment variables wired into the dev environment, backups, logs, public access control, or replacement of local Docker Compose databases with a managed Sealos database.

Core Features & Use Cases

  • Provision and reuse Sealos Cloud databases through sealos-cli based on project needs.
  • Wire the required environment variables (e.g., DATABASE_URL) into the project and verify connectivity.
  • Manage backups, logs, public access, and lifecycle operations in a safe, non-destructive manner.
  • Use in Devbox/workspace contexts to streamline local cloud-backed development.

Quick Start

Provision or connect a Sealos Cloud database for your project and wire the appropriate env vars such as DATABASE_URL.

Frequently Asked Questions about sealos-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provision a cloud database for local development using Sealos?

You can provision a Sealos cloud database by using sealos-cli to select a workspace and safely create a PostgreSQL, MySQL, MongoDB, or Redis instance. The Skill ensures non-destructive provisioning and wires connection details into your environment.

Can I replace local Docker Compose databases with a managed Sealos database?

Yes, you can replace local Docker Compose databases with a managed Sealos database. This Skill provisions Sealos Cloud databases and wires the required environment variables, like DATABASE_URL, directly into your Devbox workflows for local cloud-backed development.

How do I wire database connection environment variables into my dev environment?

To wire database connection environment variables, this Skill uses sealos-cli to extract connection details and securely inject variables like DATABASE_URL into your project. It verifies connectivity and guards your secrets during the environment wiring process.

Does the Sealos database provisioning workflow support backups and logs management?

Yes, the Sealos database workflow supports managing backups, logs, and public access control. It enforces safe, non-destructive lifecycle operations through sealos-cli, allowing you to operate your PostgreSQL, MySQL, MongoDB, or Redis instances securely.

What is the safest way to manage Sealos Cloud database lifecycle operations?

The safest way to manage Sealos Cloud database lifecycle operations is by using sealos-cli within a selected workspace. This Skill enforces non-destructive workflows and guards secrets during provisioning, backups, and environment variable wiring.