Skip to content

Instantly share code, notes, and snippets.

@ironicbadger
Created July 26, 2018 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ironicbadger/88437a0a183584eae8ee64666b1d1206 to your computer and use it in GitHub Desktop.
Save ironicbadger/88437a0a183584eae8ee64666b1d1206 to your computer and use it in GitHub Desktop.
example lsio-config yml
---
# project information
plex_project_name: plex
plex_project_url: "https://plex.tv/"
plex_project_logo: "http://the-gadgeteer.com/wp-content/uploads/2015/10/plex-logo-e1446990678679.png"
plex_project_blurb: "[Plex]({{ plex_project_url }}) organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. This container is packaged as a standalone Plex Media Server."
# container parameters
plex_param_container_name: "{{ plex_project_name }}"
plex_param_net: "host"
plex_param_env:
- { env_var: "VERSION", env_value: "latest" }
- { env_var: "PUID", env_value: "PUID" }
- { env_var: "PGID", env_value: "PGID" }
- { env_var: "TZ", env_value: "Europe/London"}
plex_param_volumes:
- { vol_path: "/config", desc: "{{ plex_desc_config }}" }
- { vol_path: "/data/xyz", desc: "{{ plex_desc_data }}" }
- { vol_path: "/transcode", desc: "{{ plex_desc_transcode" }
plex_param_ports:
- { internal_port: "32400", external_port: "32400" }
- { internal_port: "32400", external_port: "32400/udp" }
- { internal_port: "32469", external_port: "32400" }
- { internal_port: "32469", external_port: "32469/udp" }
- { internal_port: "5353", external_port: "5353/udp" }
- { internal_port: "1900", external_port: "1900/udp" }
# descriptions
plex_desc_config: "Plex metadata location. Budget at 50gb+ of disk space for large libraries. An SSD is perferred."
plex_desc_data: "Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc."
plex_desc_net: "Shares host networking with container."
plex_desc_transcode: "Path for transcoding folder, *optional*."
plex_desc_ports_optional: "*Special note* - If you'd like to run Plex without requiring `--net=host` (`NOT recommended`) then you will need the following ports in your `docker create` command:"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment