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:
39
docs/resources/mount.md
Normal file
39
docs/resources/mount.md
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "dokploy_mount Resource - dokploy"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
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 generated by tfplugindocs -->
|
||||
## 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.
|
||||
Reference in New Issue
Block a user