mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-28 15:57:09 +08:00
Merge pull request #3439 from nextcloud/enh/noid/add-plex
This commit is contained in:
commit
22d85db738
3 changed files with 51 additions and 1 deletions
37
community-containers/plex/plex.json
Normal file
37
community-containers/plex/plex.json
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"aio_services_v1": [
|
||||
{
|
||||
"container_name": "nextcloud-aio-plex",
|
||||
"display_name": "Plex",
|
||||
"image": "plexinc/pms-docker",
|
||||
"image_tag": "latest",
|
||||
"internal_port": "host",
|
||||
"restart": "unless-stopped",
|
||||
"environment": [
|
||||
"TZ=%TIMEZONE%",
|
||||
"PLEX_UID=33",
|
||||
"PLEX_GID=33"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"source": "nextcloud_aio_plex",
|
||||
"destination": "/config",
|
||||
"writeable": true
|
||||
},
|
||||
{
|
||||
"source": "%NEXTCLOUD_DATADIR%",
|
||||
"destination": "/data",
|
||||
"writeable": false
|
||||
},
|
||||
{
|
||||
"source": "%NEXTCLOUD_MOUNT%",
|
||||
"destination": "%NEXTCLOUD_MOUNT%",
|
||||
"writeable": false
|
||||
}
|
||||
],
|
||||
"devices": [
|
||||
"/dev/dri"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
13
community-containers/plex/readme.md
Normal file
13
community-containers/plex/readme.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
## Plex
|
||||
This container bundles Plex and auto-configures it for you.
|
||||
|
||||
### Notes
|
||||
- This is not working on Docker Desktop since it needs `network_mode: host` in order to work correctly.
|
||||
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers how to add it to the AIO stack
|
||||
- After adding the container, you need to visit http://ip.address.of.server:32400 in order to claim your server with a plex account
|
||||
|
||||
### Repository
|
||||
https://github.com/plexinc/pms-docker
|
||||
|
||||
### Maintainer
|
||||
https://github.com/szaimen
|
|
@ -10,4 +10,4 @@ All containers that are in this directory are community maintained so the respon
|
|||
You might want to add additional community containers to the default AIO stack. You can do so by adding `--env AIO_COMMUNITY_CONTAINERS="container1 container2"` to the docker run command of the mastercontainer (but before the last line `nextcloud/all-in-one:latest`! If it was started already, you will need to stop the mastercontainer, remove it (no data will be lost) and recreate it using the docker run command that you initially used) and customize the value to your fitting. It must match the folder names in this directory! ⚠️⚠️⚠️ Please review the folder for documentation on each of the containers before adding them! Not reviewing the documentation for each of them first might break starting the AIO containers because e.g. fail2ban only works on Linux and not on Docker Desktop!
|
||||
|
||||
## How to add containers?
|
||||
Simply submit a PR by creating a new folder in this directory: https://github.com/nextcloud/all-in-one/tree/main/community-containers with the name of your container. It must include a json file with the same name and with correct syntax and a readme.md with additional information. You might get inspired by https://github.com/nextcloud/all-in-one/tree/main/community-containers/fail2ban how it can look like. For a full-blown example of the json file, see https://github.com/nextcloud/all-in-one/blob/main/php/containers.json. The json-schema that it validates against can be found here: https://github.com/nextcloud/all-in-one/blob/main/php/containers-schema.json.
|
||||
Simply submit a PR by creating a new folder in this directory: https://github.com/nextcloud/all-in-one/tree/main/community-containers with the name of your container. It must include a json file with the same name and with correct syntax and a readme.md with additional information. You might get inspired by https://github.com/nextcloud/all-in-one/tree/main/community-containers/fail2ban or https://github.com/nextcloud/all-in-one/tree/main/community-containers/plex. For a full-blown example of the json file, see https://github.com/nextcloud/all-in-one/blob/main/php/containers.json. The json-schema that it validates against can be found here: https://github.com/nextcloud/all-in-one/blob/main/php/containers-schema.json.
|
||||
|
|
Loading…
Reference in a new issue