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"
}
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)
| Name | Type | Description | Default |
|---|---|---|---|
| plex_claim | string | Plex claim to use to connect your server to your account. Get it from https://ww | required |
| config_volume_driver_opts | map(any) | Storage driver options for the config volume. | {} |
| movies_volume_name | string | The name of the movies volume. If empty, a name will be automatically generated | "" |
| tvseries_volume_driver | string | Storage driver for the tvseries volume. | "local" |
| gid | number | Gid for the plex process. | 1000 |
| start | bool | Whether to start the container or just create it. | true |
| restart | string | The restart policy of the container. Must be one of: "no", "on-failure", "always | "unless-stopped" |
| create_tvseries_volume | bool | Create a volume for the '/tvseries' directory. | true |
| tvseries_volume_name | string | The name of the tvseries volume. If empty, a name will be automatically generate | "" |
| image_version | string | Container image version. This module uses 'linuxserver/plex'. | "latest" |
| config_volume_driver | string | Storage driver for the config volume. | "local" |
| movies_volume_driver_opts | map(any) | Storage driver options for the movies volume. | {} |
| tvseries_volume_driver_opts | map(any) | Storage driver options for the tvseries volume. | {} |
| labels | map(string) | Labels to attach to created resources that support labels. | {} |
| uid | number | Uid for the plex process. | 1000 |
| create_config_volume | bool | Create a volume for the '/config' directory. | true |
| config_volume_name | string | The name of the config volume. If empty, a name will be automatically generated | "" |
| create_movies_volume | bool | Create a volume for the '/movies' directory. | true |
| movies_volume_driver | string | Storage driver for the movies volume. | "local" |
| container_name | string | The name of the plex container. If empty, one will be generated like this: 'plex | "" |
| use_ghcr | bool | Whether to use GitHub container registry for getting the container image instead | false |
Outputs (6)
config_volume_name — Name of the config volume.
If 'create_config_volume' is set to 'false' this output will hold an emptmovies_volume_name — Name of the movies volume.
If 'create_movies_volume' is set to 'false' this output will hold an empttvseries_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
contthis_uuid — The random uuid used for naming the resources created by this module.Resources (4)
docker_containerdocker_imagedocker_volumerandom_uuid
Topics & Tags
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.2
Cloud DOCKER
★ Stars0
Forks1
Total downloads903
Inputs21
Outputs6
Resources4
LicenseMIT
Namespacecezarmathe
Updated
Similar packages
caf-enterprise-scale
Azure landing zones Terraform module
★ 952terraform
caf
Terraform supermodule for the Terraform platform engineering for Azure
★ 581terraform
lz-vending
Terraform module to deploy landing zone subscriptions (and much more) in Azure
★ 210terraform
label
Terraform Module to define a consistent naming convention by (namespace, stage,
★ 702terraform