Skip to content

Pulumi support #1555

Open
Open

Description

@maelp

What problem will this feature address?

It would be nice if we could write Pulumi / Terraform code to describe a Dokploy configuration, and it would automatically sync with it, so we could really have "infrastructure as code", with the benefit of having the nice Dokploy UI for monitoring and to access containers when needed!

Perhaps Pulumi could target each Dokploy project, so we could have a Pulumi for "production", a Pulumi for "staging", and then use Dokploy "manually" in a "apps" project when we need ad-hoc stuff that we don't want to add in the Pulumi code?

Describe the solution you'd like

A way to script the Dokploy API through Pulumi

Describe alternatives you've considered

Do a script to run Dokploy CLI deploy commands, but that defeats the purpose, since the cool thing about Pulumi is that it "synchronizes" a "description of the infra", rather than doing "imperative commands"

Additional context

No response

Will you send a PR to implement it?

Yes

Activity

  1. added
    enhancement
    on Mar 24, 2025
  2. dharmapurikar commented on Dec 2, 2025

    @dharmapurikar

    In addition to the IaaC, my biggest concern is the disaster recovery. In case my server crashes, how do I restore my database and everything else?

  3. vsanasc commented on Dec 7, 2025

    @vsanasc

    @dharmapurikar don't you use schedule backups feature?

  4. dharmapurikar commented on Dec 25, 2025

    @dharmapurikar

    @vsanasc - yes i do use the scheduled backup. My concern is - let us say I have couple of organizations and multiple projects within them. Each with their own backup schedule, the disaster process can be tricky.

    1. Restore dokploy backup to bring application back up.
    2. Then check the different applications and individually restore their state e.g. databases, application specific configurations.
    3. Some of the applications don't use database and have filesystem as backup e.g. bitwarden, minio.

    So need a programmatic way to bring everything back up.

  5. vsanasc commented on Feb 27, 2026

    @vsanasc

    @dharmapurikar it would be a great feature but it looks way more complex than a database backup/restore. So, I think for you case the base solution is use a backup system outside the machine. I don't know each service you use, but for sure it has some snapshot system to backup everything. That one would be good an reliable than backup/restore a volumes.

    But yeah, definitely it'd be great!

  6. pythoninthegrass commented on Mar 6, 2026

    @pythoninthegrass

    fwiw I've been working on a terraform provider on and off for a couple months.

    Ended up doing something simpler in a business day via https://github.com/pythoninthegrass/dokploy_seed https://github.com/pythoninthegrass/icarus

    Let me know what you think!

  7. dimeskigj commented on Sep 8, 2026

    @dimeskigj

    These past two weeks I've been working on Pulumi packages for Dokploy; Accidentally found this issue and thought I'd share the repo: https://github.com/dimeskigj/pulumi-dokploy.

    I've already used it for some of my personal projects and even started moving some of my company's small internal projects. Would love some feedback and contributions :)

  8. narcisonunez commented on Sep 8, 2026

    @narcisonunez
    Collaborator

    @dimeskigj @pythoninthegrass Thanks for your projects. I will personally review them. Started each one of them to follow your progress

  9. pythoninthegrass commented on Sep 19, 2026

    @pythoninthegrass

    You're welcome @narcisonunez ! It's a bit idiosyncratic to my personal/professional use cases but has been working well for months 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions