plex

cezarmathe/plex/docker

Terraform Module HCL DOCKER

A Terraform module for deploying the Plex Media Server.

Install
module "plex" {
source = "cezarmathe/plex/docker"
version = "0.1.2"
}
plain text: /constructs/tfmod-cezarmathe-plex-docker/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-docker-plex A Terraform module for deploying the [Plex Media Server]. Uses [linuxserver/plex]. [Plex Media Server]: https://www.plex.tv/your-media/ [linuxserver/plex]: https://fleet.linuxserver.io/image?name=linuxserver/plex

Inputs (21)
NameTypeDescriptionDefault
plex_claimstringPlex claim to use to connect your server to your account. Get it from https://ww required
config_volume_driver_optsmap(any)Storage driver options for the config volume.{}
movies_volume_namestringThe name of the movies volume. If empty, a name will be automatically generated ""
tvseries_volume_driverstringStorage driver for the tvseries volume."local"
gidnumberGid for the plex process.1000
startboolWhether to start the container or just create it.true
restartstringThe restart policy of the container. Must be one of: "no", "on-failure", "always"unless-stopped"
create_tvseries_volumeboolCreate a volume for the '/tvseries' directory.true
tvseries_volume_namestringThe name of the tvseries volume. If empty, a name will be automatically generate""
image_versionstringContainer image version. This module uses 'linuxserver/plex'. "latest"
config_volume_driverstringStorage driver for the config volume."local"
movies_volume_driver_optsmap(any)Storage driver options for the movies volume.{}
tvseries_volume_driver_optsmap(any)Storage driver options for the tvseries volume.{}
labelsmap(string)Labels to attach to created resources that support labels.{}
uidnumberUid for the plex process.1000
create_config_volumeboolCreate a volume for the '/config' directory.true
config_volume_namestringThe name of the config volume. If empty, a name will be automatically generated ""
create_movies_volumeboolCreate a volume for the '/movies' directory.true
movies_volume_driverstringStorage driver for the movies volume."local"
container_namestringThe name of the plex container. If empty, one will be generated like this: 'plex""
use_ghcrboolWhether to use GitHub container registry for getting the container image insteadfalse
Outputs (6)
config_volume_name — Name of the config volume. If 'create_config_volume' is set to 'false' this output will hold an empt
movies_volume_name — Name of the movies volume. If 'create_movies_volume' is set to 'false' this output will hold an empt
tvseries_volume_name — Name of the tvseries volume. If 'create_tvseries_volume' is set to 'false' this output will hold an
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.2
Cloud DOCKER
★ Stars0
Forks1
Total downloads903
Inputs21
Outputs6
Resources4
LicenseMIT
Namespacecezarmathe
Updated