From 91b6d3d475a51eaae52e6ac77a3fa7935d7f28be Mon Sep 17 00:00:00 2001 From: Qballjos Date: Fri, 26 Feb 2021 13:32:43 +0100 Subject: [PATCH] add stack with plex ombi and tautulli --- Template/Stack/media_server_plex.yml | 47 ++++++++++++ Template/test.json | 110 +++++++++++++++++++++++++++ 2 files changed, 157 insertions(+) create mode 100644 Template/Stack/media_server_plex.yml diff --git a/Template/Stack/media_server_plex.yml b/Template/Stack/media_server_plex.yml new file mode 100644 index 0000000..df6a7c8 --- /dev/null +++ b/Template/Stack/media_server_plex.yml @@ -0,0 +1,47 @@ +--- +version: "3.7" +services: + plex: + container_name: plex + image: hotio/plex + ports: + - "${PLEXPORT}:32400" + environment: + - PUID=$(PUID) + - PGID=${PGID} + - UMASK=${UMASK} + - TZ=${TZ} + - PLEX_CLAIM=${PLEXCLAIM} + - ADVERTISE_IP=${ADVERTISEIP} + - ALLOWED_NETWORKS=${ALLOWEDNETWORKS} + - PLEX_PASS=${PLEXPASS} + volumes: + - "${APPDATA}/plex:/config" + - "${TRANSCODE}:/transcode" + - "${MOVIES}:/movie" + - "${TV}:/tv" + - "${MUSIC}:/music" + tautulli: + container_name: tautulli + image: hotio/tautulli + ports: + - "${TAUTULLIPORT}:8181" + environment: + - PUID=$(PUID) + - PGID=${PGID} + - UMASK=${UMASK} + - TZ=${TZ} + volumes: + - "${APPDATA}/tautulli:/config" + ombi: + container_name: ombi + image: hotio/ombi + ports: + - "${OMBIPORT}:5000" + environment: + - PUID=$(PUID) + - PGID=${PGID} + - UMASK=${UMASK} + - TZ=${TZ} + volumes: + - "${APPDATA}/ombi:/config" diff --git a/Template/test.json b/Template/test.json index c9aae43..181200b 100644 --- a/Template/test.json +++ b/Template/test.json @@ -267,6 +267,116 @@ }, "title": "RR MTM Download", "type": 3 + }, + { + "categories": [ + "Media Server", + "Movie", + "TV", + "Music", + "Analytics", + "Request" + ], + "description": "A stack of dockers (Plex, Ombi and Tautulli).", + "env": [{ + "default": "1000", + "label": "PUID", + "name": "PUID" + }, + { + "default": "100", + "label": "PGID", + "name": "PGID" + }, + { + "default": "002", + "label": "UMASK", + "name": "UMASK" + }, + { + "label": "TZ", + "name": "TZ" + }, + { + "default": "32400", + "label": "Plex port", + "name": "PLEXPORT" + }, + { + "default": "8181", + "label": "Tautulli port", + "name": "TAUTULLIPORT" + }, + { + "default": "5000", + "label": "Ombi port", + "name": "OMBIPORT" + }, + { + "label": "appdata folder", + "name": "APPDATA", + "description": "location of your appdata root" + }, + { + "label": "download folder", + "name": "DOWNLOAD", + "description": "location of your download folder" + }, + { + "label": "Movies folder", + "name": "MOVIES", + "description": "location of your Movies folder" + }, + { + "label": "TV folder", + "name": "TV", + "description": "location of your TV folder" + }, + { + "label": "Music folder", + "name": "MUSIC", + "description": "location of your Music folder" + }, + { + "label": "Plex Pass", + "name": "PLEXPASS", + "select": [{ + "text": "Yes", + "value": "yes" + }, + { + "text": "No", + "value": "no", + "default": true + } + ] + }, + { + "label": "Plex Claim code", + "name": "PLEXCLAIM", + "description": "plex.tv/claim" + }, + { + "label": "External Plex URL", + "name": "ADVERTISEIP", + "description": "The variables correspond to the plex network settings" + }, + { + "label": "Your local network range", + "name": "ALLOWEDNETWORKS", + "description": "192.168.2.1/255.255.255.0" + } + ], + "logo": "https://raw.githubusercontent.com/Qballjos/portainer_templates/master/Images/plex.png", + "name": "PLEX Media Server with request and monitor", + "note": "A stack of dockers (Plex, Ombi and Tautulli).", + "platform": "linux", + "repository": { + "stackfile": "Template/Stack/media_server_plex.yml", + "url": "https://github.com/Qballjos/portainer_templates" + }, + "title": "PLEX Media Server with request and monitor", + "type": 3 } ] }