A Terraform provider for Dokploy

Plugin-framework provider covering projects, environments, applications,
Compose stacks, managed databases, domains, mounts, ports, redirects,
basic auth, registries, SSH keys, certificates and backup destinations,
over Dokploy's tRPC-over-REST API.

The shim package exposes the provider to other Go modules, which is how
pulumi-dokploy bridges it.
This commit is contained in:
2026-08-09 12:17:26 +03:00
commit a6d8aa8b52
160 changed files with 24260 additions and 0 deletions

35
docs/resources/project.md Normal file
View File

@@ -0,0 +1,35 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dokploy_project Resource - dokploy"
subcategory: ""
description: |-
A Dokploy project: the top-level container for environments and services.
Creating a project automatically creates a default production environment. Its ID is exposed as default_environment_id, so services can be attached without declaring a separate dokploy_environment resource.
---
# dokploy_project (Resource)
A Dokploy project: the top-level container for environments and services.
Creating a project automatically creates a default `production` environment. Its ID is exposed as `default_environment_id`, so services can be attached without declaring a separate `dokploy_environment` resource.
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String) Display name of the project.
### Optional
- `description` (String) Free-form description.
- `env` (String) Project-wide environment variables in `KEY=value` format, one per line. These are shared with every service in the project.
### Read-Only
- `created_at` (String) RFC 3339 timestamp of when the project was created.
- `default_environment_id` (String) ID of the `production` environment that Dokploy creates automatically with the project.
- `id` (String) Unique project identifier.
- `organization_id` (String) Organization that owns the project.