-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add predefined template for Plex * Add README
- Loading branch information
1 parent
8b6a042
commit 59e0369
Showing
4 changed files
with
69 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Plex | ||
Plex is a manager for images, videos and other media, which supports streaming on mobile devices, smart TVs, etc. It can act as a private media server, also in home networks. | ||
|
||
### Setup | ||
Plex is considered as backend service and can therefore be found in backends collection, when generating the compose configuration with Compose Generator. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"label": "Plex", | ||
"preselected": "false", | ||
"proxied": true, | ||
"files": [ | ||
{ | ||
"path": "service.yml", | ||
"type": "service" | ||
}, | ||
{ | ||
"path": "README.md", | ||
"type": "docs" | ||
} | ||
], | ||
"questions": [ | ||
{ | ||
"text": "On which port you want to expose your Plex instance?", | ||
"type": 2, | ||
"defaultValue": "80", | ||
"validator": "port", | ||
"variable": "PLEX_PORT" | ||
}, | ||
{ | ||
"text": "Which version of Plex do you want to use?", | ||
"type": 2, | ||
"defaultValue": "1.24.5", | ||
"variable": "PLEX_VERSION" | ||
} | ||
], | ||
"volumes": [ | ||
{ | ||
"text": "Custom path for Plex config directory?", | ||
"defaultValue": "./volumes/plex-config", | ||
"variable": "VOLUME_PLEX_CONFIG" | ||
}, | ||
{ | ||
"text": "Custom path for Plex TV directory?", | ||
"defaultValue": "./volumes/plex-tv", | ||
"variable": "VOLUME_PLEX_TV" | ||
}, | ||
{ | ||
"text": "Custom path for Plex movies directory?", | ||
"defaultValue": "./volumes/plex-movies", | ||
"variable": "VOLUME_PLEX_MOVIES" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
image: linuxserver/plex:${{PLEX_VERSION}} | ||
container_name: ${{PROJECT_NAME_CONTAINER}}-backend-plex | ||
restart: always | ||
volumes: | ||
- ${{VOLUME_PLEX_CONFIG}}:/config | ||
- ${{VOLUME_PLEX_TV}}:/tv | ||
- ${{VOLUME_PLEX_MOVIES}}:/movies | ||
ports: | ||
- ${{PLEX_PORT}}:32400 |