Files
pulumi-dokploy/sdk/nodejs/compose.ts
T
max-voitcov 73386ba0ff
build / build (push) Failing after 11m22s
release / plugin (push) Failing after 31m35s
release / sdks (push) Has been skipped
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`.
2026-08-26 00:46:32 +03:00

728 lines
27 KiB
TypeScript
Generated

// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "./utilities";
/**
* 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.
*/
export class Compose extends pulumi.CustomResource {
/**
* Get an existing Compose resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ComposeState, opts?: pulumi.CustomResourceOptions): Compose {
return new Compose(name, <any>state, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'dokploy:index/compose:Compose';
/**
* Returns true if the given object is an instance of Compose. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
public static isInstance(obj: any): obj is Compose {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === Compose.__pulumiType;
}
/**
* Unique Docker stack name. Generated by Dokploy when omitted. Changing it forces a new stack.
*/
declare public readonly appName: pulumi.Output<string>;
/**
* Deploy automatically when the configured trigger fires.
*/
declare public readonly autoDeploy: pulumi.Output<boolean>;
/**
* Bitbucket branch to deploy.
*/
declare public readonly bitbucketBranch: pulumi.Output<string | undefined>;
/**
* ID of the configured Bitbucket provider connection.
*/
declare public readonly bitbucketId: pulumi.Output<string | undefined>;
/**
* Bitbucket repository owner.
*/
declare public readonly bitbucketOwner: pulumi.Output<string | undefined>;
/**
* Bitbucket repository name.
*/
declare public readonly bitbucketRepository: pulumi.Output<string | undefined>;
/**
* Bitbucket repository slug.
*/
declare public readonly bitbucketRepositorySlug: pulumi.Output<string | undefined>;
/**
* GitHub branch to deploy.
*/
declare public readonly branch: pulumi.Output<string | undefined>;
/**
* Custom `docker compose` command to run.
*/
declare public readonly command: pulumi.Output<string>;
/**
* Inline Compose file contents. Used when `sourceType` is `raw`.
*/
declare public readonly composeFile: pulumi.Output<string>;
/**
* Path to the Compose file within the repository.
*/
declare public readonly composePath: pulumi.Output<string>;
/**
* Current status reported by Dokploy: `idle`, `running`, `done` or `error`.
*/
declare public /*out*/ readonly composeStatus: pulumi.Output<string>;
/**
* Whether to run the stack with Docker Compose or Docker Swarm. Valid values: `docker-compose`, `stack`.
*/
declare public readonly composeType: pulumi.Output<string>;
/**
* Write the environment variables to a `.env` file next to the Compose file.
*/
declare public readonly createEnvFile: pulumi.Output<boolean>;
/**
* RFC 3339 timestamp of when the stack was created.
*/
declare public /*out*/ readonly createdAt: pulumi.Output<string>;
/**
* Branch to deploy for a custom Git remote.
*/
declare public readonly customGitBranch: pulumi.Output<string | undefined>;
/**
* SSH key used to clone a private custom Git remote.
*/
declare public readonly customGitSshKeyId: pulumi.Output<string | undefined>;
/**
* Git remote URL, when `sourceType` is `git`.
*/
declare public readonly customGitUrl: pulumi.Output<string | undefined>;
/**
* Whether to delete the stack's Docker volumes when this resource is destroyed. Defaults to `false`, which preserves the data.
*/
declare public readonly deleteVolumes: pulumi.Output<boolean | undefined>;
/**
* Free-form description.
*/
declare public readonly description: pulumi.Output<string | undefined>;
/**
* Clone Git submodules when checking out the repository.
*/
declare public readonly enableSubmodules: pulumi.Output<boolean>;
/**
* Environment variables in `KEY=value` format, one per line.
*/
declare public readonly env: pulumi.Output<string | undefined>;
/**
* Environment this stack belongs to.
*/
declare public readonly environmentId: pulumi.Output<string>;
/**
* Gitea branch to deploy.
*/
declare public readonly giteaBranch: pulumi.Output<string | undefined>;
/**
* ID of the configured Gitea provider connection.
*/
declare public readonly giteaId: pulumi.Output<string | undefined>;
/**
* Gitea repository owner.
*/
declare public readonly giteaOwner: pulumi.Output<string | undefined>;
/**
* Gitea repository name.
*/
declare public readonly giteaRepository: pulumi.Output<string | undefined>;
/**
* ID of the configured GitHub provider connection.
*/
declare public readonly githubId: pulumi.Output<string | undefined>;
/**
* GitLab branch to deploy.
*/
declare public readonly gitlabBranch: pulumi.Output<string | undefined>;
/**
* ID of the configured GitLab provider connection.
*/
declare public readonly gitlabId: pulumi.Output<string | undefined>;
/**
* GitLab repository owner.
*/
declare public readonly gitlabOwner: pulumi.Output<string | undefined>;
/**
* Full GitLab namespace path.
*/
declare public readonly gitlabPathNamespace: pulumi.Output<string | undefined>;
/**
* Numeric GitLab project ID.
*/
declare public readonly gitlabProjectId: pulumi.Output<number | undefined>;
/**
* GitLab repository name.
*/
declare public readonly gitlabRepository: pulumi.Output<string | undefined>;
/**
* Icon shown next to the stack in the Dokploy UI.
*/
declare public readonly icon: pulumi.Output<string | undefined>;
/**
* Run the stack on its own isolated Docker network.
*/
declare public readonly isolatedDeployment: pulumi.Output<boolean>;
/**
* Prefix volume names for isolated deployments. Retained for backwards compatibility.
*/
declare public readonly isolatedDeploymentsVolume: pulumi.Output<boolean>;
/**
* Display name of the stack.
*/
declare public readonly name: pulumi.Output<string>;
/**
* GitHub repository owner.
*/
declare public readonly owner: pulumi.Output<string | undefined>;
/**
* Append a random suffix to service and volume names.
*/
declare public readonly randomize: pulumi.Output<boolean>;
/**
* GitHub repository name.
*/
declare public readonly repository: pulumi.Output<string | undefined>;
/**
* Remote server to deploy on. Omit to use the Dokploy host itself.
*/
declare public readonly serverId: pulumi.Output<string | undefined>;
/**
* Per-service Docker network attachments, as a JSON object mapping each service name in the stack to an array of network IDs.
*/
declare public readonly serviceNetworks: pulumi.Output<string | undefined>;
/**
* Where the Compose file comes from. Valid values: `git`, `github`, `gitlab`, `bitbucket`, `gitea`, `raw`.
*/
declare public readonly sourceType: pulumi.Output<string>;
/**
* Suffix appended to generated resource names.
*/
declare public readonly suffix: pulumi.Output<string>;
/**
* What triggers an automatic deployment. Valid values: `push`, `tag`.
*/
declare public readonly triggerType: pulumi.Output<string>;
/**
* Glob patterns that limit which changed paths trigger an automatic deployment.
*/
declare public readonly watchPaths: pulumi.Output<string[]>;
/**
* Create a Compose resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ComposeArgs, opts?: pulumi.CustomResourceOptions)
constructor(name: string, argsOrState?: ComposeArgs | ComposeState, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState as ComposeState | undefined;
resourceInputs["appName"] = state?.appName;
resourceInputs["autoDeploy"] = state?.autoDeploy;
resourceInputs["bitbucketBranch"] = state?.bitbucketBranch;
resourceInputs["bitbucketId"] = state?.bitbucketId;
resourceInputs["bitbucketOwner"] = state?.bitbucketOwner;
resourceInputs["bitbucketRepository"] = state?.bitbucketRepository;
resourceInputs["bitbucketRepositorySlug"] = state?.bitbucketRepositorySlug;
resourceInputs["branch"] = state?.branch;
resourceInputs["command"] = state?.command;
resourceInputs["composeFile"] = state?.composeFile;
resourceInputs["composePath"] = state?.composePath;
resourceInputs["composeStatus"] = state?.composeStatus;
resourceInputs["composeType"] = state?.composeType;
resourceInputs["createEnvFile"] = state?.createEnvFile;
resourceInputs["createdAt"] = state?.createdAt;
resourceInputs["customGitBranch"] = state?.customGitBranch;
resourceInputs["customGitSshKeyId"] = state?.customGitSshKeyId;
resourceInputs["customGitUrl"] = state?.customGitUrl;
resourceInputs["deleteVolumes"] = state?.deleteVolumes;
resourceInputs["description"] = state?.description;
resourceInputs["enableSubmodules"] = state?.enableSubmodules;
resourceInputs["env"] = state?.env;
resourceInputs["environmentId"] = state?.environmentId;
resourceInputs["giteaBranch"] = state?.giteaBranch;
resourceInputs["giteaId"] = state?.giteaId;
resourceInputs["giteaOwner"] = state?.giteaOwner;
resourceInputs["giteaRepository"] = state?.giteaRepository;
resourceInputs["githubId"] = state?.githubId;
resourceInputs["gitlabBranch"] = state?.gitlabBranch;
resourceInputs["gitlabId"] = state?.gitlabId;
resourceInputs["gitlabOwner"] = state?.gitlabOwner;
resourceInputs["gitlabPathNamespace"] = state?.gitlabPathNamespace;
resourceInputs["gitlabProjectId"] = state?.gitlabProjectId;
resourceInputs["gitlabRepository"] = state?.gitlabRepository;
resourceInputs["icon"] = state?.icon;
resourceInputs["isolatedDeployment"] = state?.isolatedDeployment;
resourceInputs["isolatedDeploymentsVolume"] = state?.isolatedDeploymentsVolume;
resourceInputs["name"] = state?.name;
resourceInputs["owner"] = state?.owner;
resourceInputs["randomize"] = state?.randomize;
resourceInputs["repository"] = state?.repository;
resourceInputs["serverId"] = state?.serverId;
resourceInputs["serviceNetworks"] = state?.serviceNetworks;
resourceInputs["sourceType"] = state?.sourceType;
resourceInputs["suffix"] = state?.suffix;
resourceInputs["triggerType"] = state?.triggerType;
resourceInputs["watchPaths"] = state?.watchPaths;
} else {
const args = argsOrState as ComposeArgs | undefined;
if (args?.environmentId === undefined && !opts.urn) {
throw new Error("Missing required property 'environmentId'");
}
resourceInputs["appName"] = args?.appName;
resourceInputs["autoDeploy"] = args?.autoDeploy;
resourceInputs["bitbucketBranch"] = args?.bitbucketBranch;
resourceInputs["bitbucketId"] = args?.bitbucketId;
resourceInputs["bitbucketOwner"] = args?.bitbucketOwner;
resourceInputs["bitbucketRepository"] = args?.bitbucketRepository;
resourceInputs["bitbucketRepositorySlug"] = args?.bitbucketRepositorySlug;
resourceInputs["branch"] = args?.branch;
resourceInputs["command"] = args?.command;
resourceInputs["composeFile"] = args?.composeFile;
resourceInputs["composePath"] = args?.composePath;
resourceInputs["composeType"] = args?.composeType;
resourceInputs["createEnvFile"] = args?.createEnvFile;
resourceInputs["customGitBranch"] = args?.customGitBranch;
resourceInputs["customGitSshKeyId"] = args?.customGitSshKeyId;
resourceInputs["customGitUrl"] = args?.customGitUrl;
resourceInputs["deleteVolumes"] = args?.deleteVolumes;
resourceInputs["description"] = args?.description;
resourceInputs["enableSubmodules"] = args?.enableSubmodules;
resourceInputs["env"] = args?.env;
resourceInputs["environmentId"] = args?.environmentId;
resourceInputs["giteaBranch"] = args?.giteaBranch;
resourceInputs["giteaId"] = args?.giteaId;
resourceInputs["giteaOwner"] = args?.giteaOwner;
resourceInputs["giteaRepository"] = args?.giteaRepository;
resourceInputs["githubId"] = args?.githubId;
resourceInputs["gitlabBranch"] = args?.gitlabBranch;
resourceInputs["gitlabId"] = args?.gitlabId;
resourceInputs["gitlabOwner"] = args?.gitlabOwner;
resourceInputs["gitlabPathNamespace"] = args?.gitlabPathNamespace;
resourceInputs["gitlabProjectId"] = args?.gitlabProjectId;
resourceInputs["gitlabRepository"] = args?.gitlabRepository;
resourceInputs["icon"] = args?.icon;
resourceInputs["isolatedDeployment"] = args?.isolatedDeployment;
resourceInputs["isolatedDeploymentsVolume"] = args?.isolatedDeploymentsVolume;
resourceInputs["name"] = args?.name;
resourceInputs["owner"] = args?.owner;
resourceInputs["randomize"] = args?.randomize;
resourceInputs["repository"] = args?.repository;
resourceInputs["serverId"] = args?.serverId;
resourceInputs["serviceNetworks"] = args?.serviceNetworks;
resourceInputs["sourceType"] = args?.sourceType;
resourceInputs["suffix"] = args?.suffix;
resourceInputs["triggerType"] = args?.triggerType;
resourceInputs["watchPaths"] = args?.watchPaths;
resourceInputs["composeStatus"] = undefined /*out*/;
resourceInputs["createdAt"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(Compose.__pulumiType, name, resourceInputs, opts);
}
}
/**
* Input properties used for looking up and filtering Compose resources.
*/
export interface ComposeState {
/**
* Unique Docker stack name. Generated by Dokploy when omitted. Changing it forces a new stack.
*/
appName?: pulumi.Input<string | undefined>;
/**
* Deploy automatically when the configured trigger fires.
*/
autoDeploy?: pulumi.Input<boolean | undefined>;
/**
* Bitbucket branch to deploy.
*/
bitbucketBranch?: pulumi.Input<string | undefined>;
/**
* ID of the configured Bitbucket provider connection.
*/
bitbucketId?: pulumi.Input<string | undefined>;
/**
* Bitbucket repository owner.
*/
bitbucketOwner?: pulumi.Input<string | undefined>;
/**
* Bitbucket repository name.
*/
bitbucketRepository?: pulumi.Input<string | undefined>;
/**
* Bitbucket repository slug.
*/
bitbucketRepositorySlug?: pulumi.Input<string | undefined>;
/**
* GitHub branch to deploy.
*/
branch?: pulumi.Input<string | undefined>;
/**
* Custom `docker compose` command to run.
*/
command?: pulumi.Input<string | undefined>;
/**
* Inline Compose file contents. Used when `sourceType` is `raw`.
*/
composeFile?: pulumi.Input<string | undefined>;
/**
* Path to the Compose file within the repository.
*/
composePath?: pulumi.Input<string | undefined>;
/**
* Current status reported by Dokploy: `idle`, `running`, `done` or `error`.
*/
composeStatus?: pulumi.Input<string | undefined>;
/**
* Whether to run the stack with Docker Compose or Docker Swarm. Valid values: `docker-compose`, `stack`.
*/
composeType?: pulumi.Input<string | undefined>;
/**
* Write the environment variables to a `.env` file next to the Compose file.
*/
createEnvFile?: pulumi.Input<boolean | undefined>;
/**
* RFC 3339 timestamp of when the stack was created.
*/
createdAt?: pulumi.Input<string | undefined>;
/**
* Branch to deploy for a custom Git remote.
*/
customGitBranch?: pulumi.Input<string | undefined>;
/**
* SSH key used to clone a private custom Git remote.
*/
customGitSshKeyId?: pulumi.Input<string | undefined>;
/**
* Git remote URL, when `sourceType` is `git`.
*/
customGitUrl?: pulumi.Input<string | undefined>;
/**
* Whether to delete the stack's Docker volumes when this resource is destroyed. Defaults to `false`, which preserves the data.
*/
deleteVolumes?: pulumi.Input<boolean | undefined>;
/**
* Free-form description.
*/
description?: pulumi.Input<string | undefined>;
/**
* Clone Git submodules when checking out the repository.
*/
enableSubmodules?: pulumi.Input<boolean | undefined>;
/**
* Environment variables in `KEY=value` format, one per line.
*/
env?: pulumi.Input<string | undefined>;
/**
* Environment this stack belongs to.
*/
environmentId?: pulumi.Input<string | undefined>;
/**
* Gitea branch to deploy.
*/
giteaBranch?: pulumi.Input<string | undefined>;
/**
* ID of the configured Gitea provider connection.
*/
giteaId?: pulumi.Input<string | undefined>;
/**
* Gitea repository owner.
*/
giteaOwner?: pulumi.Input<string | undefined>;
/**
* Gitea repository name.
*/
giteaRepository?: pulumi.Input<string | undefined>;
/**
* ID of the configured GitHub provider connection.
*/
githubId?: pulumi.Input<string | undefined>;
/**
* GitLab branch to deploy.
*/
gitlabBranch?: pulumi.Input<string | undefined>;
/**
* ID of the configured GitLab provider connection.
*/
gitlabId?: pulumi.Input<string | undefined>;
/**
* GitLab repository owner.
*/
gitlabOwner?: pulumi.Input<string | undefined>;
/**
* Full GitLab namespace path.
*/
gitlabPathNamespace?: pulumi.Input<string | undefined>;
/**
* Numeric GitLab project ID.
*/
gitlabProjectId?: pulumi.Input<number | undefined>;
/**
* GitLab repository name.
*/
gitlabRepository?: pulumi.Input<string | undefined>;
/**
* Icon shown next to the stack in the Dokploy UI.
*/
icon?: pulumi.Input<string | undefined>;
/**
* Run the stack on its own isolated Docker network.
*/
isolatedDeployment?: pulumi.Input<boolean | undefined>;
/**
* Prefix volume names for isolated deployments. Retained for backwards compatibility.
*/
isolatedDeploymentsVolume?: pulumi.Input<boolean | undefined>;
/**
* Display name of the stack.
*/
name?: pulumi.Input<string | undefined>;
/**
* GitHub repository owner.
*/
owner?: pulumi.Input<string | undefined>;
/**
* Append a random suffix to service and volume names.
*/
randomize?: pulumi.Input<boolean | undefined>;
/**
* GitHub repository name.
*/
repository?: pulumi.Input<string | undefined>;
/**
* Remote server to deploy on. Omit to use the Dokploy host itself.
*/
serverId?: pulumi.Input<string | undefined>;
/**
* Per-service Docker network attachments, as a JSON object mapping each service name in the stack to an array of network IDs.
*/
serviceNetworks?: pulumi.Input<string | undefined>;
/**
* Where the Compose file comes from. Valid values: `git`, `github`, `gitlab`, `bitbucket`, `gitea`, `raw`.
*/
sourceType?: pulumi.Input<string | undefined>;
/**
* Suffix appended to generated resource names.
*/
suffix?: pulumi.Input<string | undefined>;
/**
* What triggers an automatic deployment. Valid values: `push`, `tag`.
*/
triggerType?: pulumi.Input<string | undefined>;
/**
* Glob patterns that limit which changed paths trigger an automatic deployment.
*/
watchPaths?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
/**
* The set of arguments for constructing a Compose resource.
*/
export interface ComposeArgs {
/**
* Unique Docker stack name. Generated by Dokploy when omitted. Changing it forces a new stack.
*/
appName?: pulumi.Input<string | undefined>;
/**
* Deploy automatically when the configured trigger fires.
*/
autoDeploy?: pulumi.Input<boolean | undefined>;
/**
* Bitbucket branch to deploy.
*/
bitbucketBranch?: pulumi.Input<string | undefined>;
/**
* ID of the configured Bitbucket provider connection.
*/
bitbucketId?: pulumi.Input<string | undefined>;
/**
* Bitbucket repository owner.
*/
bitbucketOwner?: pulumi.Input<string | undefined>;
/**
* Bitbucket repository name.
*/
bitbucketRepository?: pulumi.Input<string | undefined>;
/**
* Bitbucket repository slug.
*/
bitbucketRepositorySlug?: pulumi.Input<string | undefined>;
/**
* GitHub branch to deploy.
*/
branch?: pulumi.Input<string | undefined>;
/**
* Custom `docker compose` command to run.
*/
command?: pulumi.Input<string | undefined>;
/**
* Inline Compose file contents. Used when `sourceType` is `raw`.
*/
composeFile?: pulumi.Input<string | undefined>;
/**
* Path to the Compose file within the repository.
*/
composePath?: pulumi.Input<string | undefined>;
/**
* Whether to run the stack with Docker Compose or Docker Swarm. Valid values: `docker-compose`, `stack`.
*/
composeType?: pulumi.Input<string | undefined>;
/**
* Write the environment variables to a `.env` file next to the Compose file.
*/
createEnvFile?: pulumi.Input<boolean | undefined>;
/**
* Branch to deploy for a custom Git remote.
*/
customGitBranch?: pulumi.Input<string | undefined>;
/**
* SSH key used to clone a private custom Git remote.
*/
customGitSshKeyId?: pulumi.Input<string | undefined>;
/**
* Git remote URL, when `sourceType` is `git`.
*/
customGitUrl?: pulumi.Input<string | undefined>;
/**
* Whether to delete the stack's Docker volumes when this resource is destroyed. Defaults to `false`, which preserves the data.
*/
deleteVolumes?: pulumi.Input<boolean | undefined>;
/**
* Free-form description.
*/
description?: pulumi.Input<string | undefined>;
/**
* Clone Git submodules when checking out the repository.
*/
enableSubmodules?: pulumi.Input<boolean | undefined>;
/**
* Environment variables in `KEY=value` format, one per line.
*/
env?: pulumi.Input<string | undefined>;
/**
* Environment this stack belongs to.
*/
environmentId: pulumi.Input<string>;
/**
* Gitea branch to deploy.
*/
giteaBranch?: pulumi.Input<string | undefined>;
/**
* ID of the configured Gitea provider connection.
*/
giteaId?: pulumi.Input<string | undefined>;
/**
* Gitea repository owner.
*/
giteaOwner?: pulumi.Input<string | undefined>;
/**
* Gitea repository name.
*/
giteaRepository?: pulumi.Input<string | undefined>;
/**
* ID of the configured GitHub provider connection.
*/
githubId?: pulumi.Input<string | undefined>;
/**
* GitLab branch to deploy.
*/
gitlabBranch?: pulumi.Input<string | undefined>;
/**
* ID of the configured GitLab provider connection.
*/
gitlabId?: pulumi.Input<string | undefined>;
/**
* GitLab repository owner.
*/
gitlabOwner?: pulumi.Input<string | undefined>;
/**
* Full GitLab namespace path.
*/
gitlabPathNamespace?: pulumi.Input<string | undefined>;
/**
* Numeric GitLab project ID.
*/
gitlabProjectId?: pulumi.Input<number | undefined>;
/**
* GitLab repository name.
*/
gitlabRepository?: pulumi.Input<string | undefined>;
/**
* Icon shown next to the stack in the Dokploy UI.
*/
icon?: pulumi.Input<string | undefined>;
/**
* Run the stack on its own isolated Docker network.
*/
isolatedDeployment?: pulumi.Input<boolean | undefined>;
/**
* Prefix volume names for isolated deployments. Retained for backwards compatibility.
*/
isolatedDeploymentsVolume?: pulumi.Input<boolean | undefined>;
/**
* Display name of the stack.
*/
name?: pulumi.Input<string | undefined>;
/**
* GitHub repository owner.
*/
owner?: pulumi.Input<string | undefined>;
/**
* Append a random suffix to service and volume names.
*/
randomize?: pulumi.Input<boolean | undefined>;
/**
* GitHub repository name.
*/
repository?: pulumi.Input<string | undefined>;
/**
* Remote server to deploy on. Omit to use the Dokploy host itself.
*/
serverId?: pulumi.Input<string | undefined>;
/**
* Per-service Docker network attachments, as a JSON object mapping each service name in the stack to an array of network IDs.
*/
serviceNetworks?: pulumi.Input<string | undefined>;
/**
* Where the Compose file comes from. Valid values: `git`, `github`, `gitlab`, `bitbucket`, `gitea`, `raw`.
*/
sourceType?: pulumi.Input<string | undefined>;
/**
* Suffix appended to generated resource names.
*/
suffix?: pulumi.Input<string | undefined>;
/**
* What triggers an automatic deployment. Valid values: `push`, `tag`.
*/
triggerType?: pulumi.Input<string | undefined>;
/**
* Glob patterns that limit which changed paths trigger an automatic deployment.
*/
watchPaths?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}