dokploy-internal-oneshot

Run ephemeral internal-network tasks in Dokploy projects via raw compose services.

61|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/Innei/SKILL --skill dokploy-internal-oneshot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dokploy-internal-oneshot
Source: https://github.com/Innei/SKILL/tree/main/skills/infrastructure/dokploy-internal-oneshot
Command: npx skills add https://github.com/Innei/SKILL --skill dokploy-internal-oneshot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enable running ephemeral internal-network tasks inside a Dokploy project without exposing internal services to the public internet.

Core Features & Use Cases

  • Run data migrations, batch jobs, schema setup, or ad-hoc database commands that need access to internal hosts (e.g. postgres, mongo, redis) within the same network.
  • Use a short-lived compose service with sourceType: "raw" and inline YAML to perform the task and exit.
  • Integrate with dokploy-api-cli to deploy, monitor, and clean up after completion.

Quick Start

Create a short-lived compose service with sourceType: "raw" and inline YAML to run the task inside the Dokploy project network.

Frequently Asked Questions about dokploy-internal-oneshot

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

FAQPage Schema
How do I run an internal database migration in Dokploy without exposing services to the public internet?

To run an internal database migration in Dokploy without public exposure, define a short-lived compose service with sourceType: "raw" and inline YAML. This ephemeral task executes within the internal project network to securely access services like postgres or mongo and exits upon completion.

Can I execute ad-hoc batch jobs against internal hosts like Redis and Mongo inside a Dokploy project?

Yes, you can execute ad-hoc batch jobs against internal hosts like Redis and Mongo inside a Dokploy project. By specifying a short-lived compose service with inline YAML, the task runs securely within the internal network to perform operations and automatically cleans up afterward.

What is the best way to run ephemeral schema setup tasks in an internal network?

The best way to run ephemeral schema setup tasks in an internal network is using a short-lived compose service with sourceType: "raw". This approach integrates with dokploy-api-cli to deploy, monitor, and manage the lifecycle of the temporary task without exposing internal hosts.

Does Dokploy support ephemeral tasks for internal network data migrations?

Dokploy supports ephemeral tasks for internal network data migrations by using a short-lived compose service specified with sourceType: "raw" and inline YAML. This allows secure, temporary access to internal hosts for data migrations and batch jobs without public internet exposure.

How do I deploy and clean up short-lived compose services in Dokploy?

To deploy and clean up short-lived compose services in Dokploy, integrate with the dokploy-api-cli. This command-line interface manages the deployment, monitoring, and lifecycle cleanup of ephemeral tasks defined with inline YAML and sourceType: "raw".

When should I use an ephemeral internal task instead of a standard deployment for database commands?

You should use an ephemeral internal task instead of a standard deployment for database commands when you need temporary access to internal hosts like postgres or redis for ad-hoc schema setup or batch jobs, ensuring the service exits automatically without continuous resource consumption.