You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Reacted by Axel, Denny Weiß, Sakesun, David Dahan, DialoglyAI, Kevin Mallari, Morhaf Kourbaj, Alexandre Stahmer, Tomáš Horáček, Vladyslav Mankivskyi and 35 more
Reacted by Kirill Heitzler
Reacted by Vishal kadam, David Dahan, Tadas Talaikis, DialoglyAI, Kevin Mallari, Morhaf Kourbaj, Alexandre Stahmer, Tomáš Horáček, Rangel Stoilov, Francisco Mercedes and 11 more
@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.
Restore dokploy backup to bring application back up.
Then check the different applications and individually restore their state e.g. databases, application specific configurations.
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.
@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.
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 :)
Activity
dharmapurikar commentedon Dec 2, 2025
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?
vsanasc commentedon Dec 7, 2025
@dharmapurikar don't you use schedule backups feature?
dharmapurikar commentedon Dec 25, 2025
@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.
So need a programmatic way to bring everything back up.
vsanasc commentedon Feb 27, 2026
@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!
pythoninthegrass commentedon Mar 6, 2026
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_seedhttps://github.com/pythoninthegrass/icarusLet me know what you think!
dimeskigj commentedon Sep 8, 2026
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 :)
narcisonunez commentedon Sep 8, 2026
@dimeskigj @pythoninthegrass Thanks for your projects. I will personally review them. Started each one of them to follow your progress
pythoninthegrass commentedon Sep 19, 2026
You're welcome @narcisonunez ! It's a bit idiosyncratic to my personal/professional use cases but has been working well for months 👌