syncthing
cezarmathe/syncthing/docker
Terraform Module
HCL
DOCKER
A Terraform module for deploying Syncthing.
Install
module "syncthing" {
source = "cezarmathe/syncthing/docker"
version = "0.1.0"
}
README
terraform-docker-plex A Terraform module for deploying [Syncthing]. Uses [linuxserver/syncthing]. [Syncthing]: https://syncthing.net/ [linuxserver/syncthing]: https://fleet.linuxserver.io/image?name=linuxserver/syncthing
Inputs (17)
| Name | Type | Description | Default |
|---|---|---|---|
| config_volume_driver_opts | map(any) | Storage driver options for the config volume. | {} |
| create_data_volume | bool | Create a volume for the '/data' directory. | true |
| labels | map(string) | Labels to attach to created resources that support labels. | {} |
| restart | string | The restart policy of the container. Must be one of: "no", "on-failure", "always | "unless-stopped" |
| config_volume_driver | string | Storage driver for the config volume. | "local" |
| data_volume_driver_opts | map(any) | Storage driver options for the data volume. | {} |
| container_name | string | The name of the syncthing container. If empty, one will be generated like this: | "" |
| use_ghcr | bool | Whether to use GitHub container registry for getting the container image instead | false |
| start | bool | Whether to start the container or just create it. | true |
| data_volume_name | string | The name of the data volume. If empty, a name will be automatically generated li | "" |
| timezone | string | Timezone. | "Europe/London" |
| uid | number | Uid for the syncthing process. | 1000 |
| config_volume_name | string | The name of the config volume. If empty, a name will be automatically generated | "" |
| create_config_volume | bool | Create a volume for the '/config' directory. | true |
| data_volume_driver | string | Storage driver for the data volume. | "local" |
| gid | number | Gid for the syncthing process. | 1000 |
| image_version | string | Container image version. This module uses 'linuxserver/syncthing'. | "latest" |
Outputs (5)
config_volume_name — Name of the config volume.
If 'create_config_volume' is set to 'false' this output will hold an emptdata_volume_name — Name of the data volume.
If 'create_data_volume' is set to 'false' this output will hold an empty stthis_name — Name of the container.this_network_data — Network configuration of the container. This exports the 'network_data' attribute of the docker
contthis_uuid — The random uuid used for naming the resources created by this module.Resources (4)
docker_containerdocker_imagedocker_volumerandom_uuid
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud DOCKER
★ Stars0
Forks1
Total downloads896
Inputs17
Outputs5
Resources4
LicenseMIT
Namespacecezarmathe
Updated