Files
terraform-provider-dokploy/docs/resources/mount.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.6 KiB

page_title, subcategory, description
page_title subcategory description
dokploy_mount Resource - dokploy A volume, bind mount, or config file attached to a Dokploy service. type = "volume" — a named Docker volume; set volume_name.type = "bind" — a path on the host; set host_path.type = "file" — a file rendered from content; set file_path.

dokploy_mount (Resource)

A volume, bind mount, or config file attached to a Dokploy service.

  • type = "volume" — a named Docker volume; set volume_name.
  • type = "bind" — a path on the host; set host_path.
  • type = "file" — a file rendered from content; set file_path.

Schema

Required

  • mount_path (String) Path inside the container where the mount appears.
  • service_id (String) ID of the service this mount attaches to. Must match service_type — an application ID, a compose ID, a postgres ID, and so on.
  • service_type (String) The kind of service this mount attaches to. Valid values: application, postgres, mysql, mariadb, mongo, redis, compose.
  • type (String) The kind of mount to create. Valid values: bind, volume, file.

Optional

  • content (String) Contents of the generated file, when type is file.
  • file_path (String) Path of the generated file, when type is file.
  • host_path (String) Path on the host, when type is bind.
  • volume_name (String) Name of the Docker volume, when type is volume.

Read-Only

  • id (String) Unique mount identifier.