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"
}
plain text: /constructs/tfmod-cezarmathe-syncthing-docker/install.txt
⭐ Source on GitHub 📦 Registry page
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)
NameTypeDescriptionDefault
config_volume_driver_optsmap(any)Storage driver options for the config volume.{}
create_data_volumeboolCreate a volume for the '/data' directory.true
labelsmap(string)Labels to attach to created resources that support labels.{}
restartstringThe restart policy of the container. Must be one of: "no", "on-failure", "always"unless-stopped"
config_volume_driverstringStorage driver for the config volume."local"
data_volume_driver_optsmap(any)Storage driver options for the data volume.{}
container_namestringThe name of the syncthing container. If empty, one will be generated like this: ""
use_ghcrboolWhether to use GitHub container registry for getting the container image insteadfalse
startboolWhether to start the container or just create it.true
data_volume_namestringThe name of the data volume. If empty, a name will be automatically generated li""
timezonestringTimezone."Europe/London"
uidnumberUid for the syncthing process.1000
config_volume_namestringThe name of the config volume. If empty, a name will be automatically generated ""
create_config_volumeboolCreate a volume for the '/config' directory.true
data_volume_driverstringStorage driver for the data volume."local"
gidnumberGid for the syncthing process.1000
image_versionstringContainer 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 empt
data_volume_name — Name of the data volume. If 'create_data_volume' is set to 'false' this output will hold an empty st
this_name — Name of the container.
this_network_data — Network configuration of the container. This exports the 'network_data' attribute of the docker cont
this_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