Files
terraform-provider-dokploy/docs/resources/environment.md
Max Vojtkov a6d8aa8b52 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.
2026-08-09 12:17:26 +03:00

1.4 KiB

page_title, subcategory, description
page_title subcategory description
dokploy_environment Resource - dokploy An environment inside a Dokploy project, such as staging or production. Services belong to an environment rather than directly to a project. Dokploy creates a default production environment with every project; reference it via dokploy_project.<name>.default_environment_id instead of declaring it here.

dokploy_environment (Resource)

An environment inside a Dokploy project, such as staging or production. Services belong to an environment rather than directly to a project.

Dokploy creates a default production environment with every project; reference it via dokploy_project.<name>.default_environment_id instead of declaring it here.

Schema

Required

  • name (String) Environment name, for example staging.
  • project_id (String) Project this environment belongs to.

Optional

  • description (String) Free-form description.
  • env (String) Environment-wide variables in KEY=value format, one per line. These are merged into every service in this environment.

Read-Only

  • created_at (String) RFC 3339 timestamp of when the environment was created.
  • id (String) Unique environment identifier.
  • is_default (Boolean) Whether this is the project's default environment.