Bridge what Dokploy v0.30 added, and let the docs through
Six new resources from terraform-provider-dokploy v0.2.0 -- Network, DnsProvider, VaultProvider, Schedule, VolumeBackup and Libsql -- plus the new properties on Domain (`enabled`), Compose (`serviceNetworks`, `createEnvFile`, `icon`) and Application. Verified with `pulumi up` against a live v0.30.2 instance: create, preview-clean, and destroy. The upstream provider also now refuses a volume Mount with no `volumeName`, which Dokploy would otherwise turn into an anonymous Docker volume recreated on every deploy. That surfaces here at preview time, before anything exists. Two things made that fix nearly invisible to Pulumi users, so this commit fixes the second one: the bridge resolves the upstream `docs/` through the Go module cache, where a locally `replace`d dependency never lands, so tfgen was emitting every resource with no description at all. UpstreamRepoPath now points at the checkout and all 445 inputs carry documentation -- with names rendered per language, so Python readers see `volume_name` where TypeScript readers see `volumeName`.
This commit is contained in:
Generated
+61
@@ -10,6 +10,13 @@ using Pulumi;
|
||||
|
||||
namespace Maxvojtkov.Dokploy
|
||||
{
|
||||
/// <summary>
|
||||
/// A Docker Compose or Docker Swarm stack managed by Dokploy.
|
||||
///
|
||||
/// Set `ComposeFile` to manage the stack definition inline (with `SourceType = "raw"`), or point the stack at a Git repository and set `ComposePath`.
|
||||
///
|
||||
/// > Creating this resource does **not** deploy the stack.
|
||||
/// </summary>
|
||||
[DokployResourceType("dokploy:index/compose:Compose")]
|
||||
public partial class Compose : global::Pulumi.CustomResource
|
||||
{
|
||||
@@ -91,6 +98,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Output("composeType")]
|
||||
public Output<string> ComposeType { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Write the environment variables to a `.env` file next to the Compose file.
|
||||
/// </summary>
|
||||
[Output("createEnvFile")]
|
||||
public Output<bool> CreateEnvFile { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// RFC 3339 timestamp of when the stack was created.
|
||||
/// </summary>
|
||||
@@ -211,6 +224,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Output("gitlabRepository")]
|
||||
public Output<string?> GitlabRepository { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Icon shown next to the stack in the Dokploy UI.
|
||||
/// </summary>
|
||||
[Output("icon")]
|
||||
public Output<string?> Icon { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Run the stack on its own isolated Docker network.
|
||||
/// </summary>
|
||||
@@ -253,6 +272,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Output("serverId")]
|
||||
public Output<string?> ServerId { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Per-service Docker network attachments, as a JSON object mapping each service name in the stack to an array of network IDs.
|
||||
/// </summary>
|
||||
[Output("serviceNetworks")]
|
||||
public Output<string?> ServiceNetworks { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Where the Compose file comes from. Valid values: `Git`, `Github`, `Gitlab`, `Bitbucket`, `Gitea`, `Raw`.
|
||||
/// </summary>
|
||||
@@ -396,6 +421,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Input("composeType")]
|
||||
public Input<string>? ComposeType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Write the environment variables to a `.env` file next to the Compose file.
|
||||
/// </summary>
|
||||
[Input("createEnvFile")]
|
||||
public Input<bool>? CreateEnvFile { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Branch to deploy for a custom Git remote.
|
||||
/// </summary>
|
||||
@@ -510,6 +541,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Input("gitlabRepository")]
|
||||
public Input<string>? GitlabRepository { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Icon shown next to the stack in the Dokploy UI.
|
||||
/// </summary>
|
||||
[Input("icon")]
|
||||
public Input<string>? Icon { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Run the stack on its own isolated Docker network.
|
||||
/// </summary>
|
||||
@@ -552,6 +589,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Input("serverId")]
|
||||
public Input<string>? ServerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Per-service Docker network attachments, as a JSON object mapping each service name in the stack to an array of network IDs.
|
||||
/// </summary>
|
||||
[Input("serviceNetworks")]
|
||||
public Input<string>? ServiceNetworks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Where the Compose file comes from. Valid values: `Git`, `Github`, `Gitlab`, `Bitbucket`, `Gitea`, `Raw`.
|
||||
/// </summary>
|
||||
@@ -668,6 +711,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Input("composeType")]
|
||||
public Input<string>? ComposeType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Write the environment variables to a `.env` file next to the Compose file.
|
||||
/// </summary>
|
||||
[Input("createEnvFile")]
|
||||
public Input<bool>? CreateEnvFile { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// RFC 3339 timestamp of when the stack was created.
|
||||
/// </summary>
|
||||
@@ -788,6 +837,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Input("gitlabRepository")]
|
||||
public Input<string>? GitlabRepository { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Icon shown next to the stack in the Dokploy UI.
|
||||
/// </summary>
|
||||
[Input("icon")]
|
||||
public Input<string>? Icon { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Run the stack on its own isolated Docker network.
|
||||
/// </summary>
|
||||
@@ -830,6 +885,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Input("serverId")]
|
||||
public Input<string>? ServerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Per-service Docker network attachments, as a JSON object mapping each service name in the stack to an array of network IDs.
|
||||
/// </summary>
|
||||
[Input("serviceNetworks")]
|
||||
public Input<string>? ServiceNetworks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Where the Compose file comes from. Valid values: `Git`, `Github`, `Gitlab`, `Bitbucket`, `Gitea`, `Raw`.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user