summaryrefslogtreecommitdiffhomepage
path: root/public/v2/apps/plex.json
blob: ea16316cd2d90fa23a2774d890f4c620e5b8f124 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
    "captainVersion": "2",
    "documentation": "Taken from https://hub.docker.com/r/plexinc/pms-docker.",
    "displayName": "Plex Media Server",
    "description": "Plex organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices.",
    "dockerCompose": {
        "version": "3.1",
        "services": {
            "$$cap_appname": {
                "image": "plexinc/pms-docker:$$cap_plex_version",
                "containerHttpPort": "32400",
                "environment": {
                    "TZ": "$$cap_tz",
                    "PLEX_CLAIM": "$$cap_plex_token",
                    "ADVERTISE_IP": "http://$$cap_appname.$$cap_root_domain/"
                },
                "ports": [
                    "32400:32400",
                    "3005:3005",
                    "8324:8324",
                    "32469:32469",
                    "1900:1900",
                    "32410:32410",
                    "32412:32412",
                    "32413:32413",
                    "32414:32414"
                ],
                "hostname": "$$cap_appname.$$cap_root_domain",
                "volumes": [
                    "$$cap_appname-config:/config",
                    "$$cap_appname-transcode:/transcode",
                    "$$cap_appname-media:/data"
                ]
            }
        }
    },
    "instructions": {
        "start": "Plex organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices.\n\nIMPORTANT: Plex uses ports 32400, 3005, 8324, 32469, 1900, 32410, 32412, 32412, 32413, and 32414. If any of these ports are in use, your installation will malfunction.",
        "end": "Plex has been successfully deployed. Please wait a minute before accessing your Plex dashboard. \n\nIf you're installing behind a NAT, make sure to forward port 32400."
    },
    "variables": [
        {
            "id": "$$cap_plex_version",
            "label": "Plex Version",
            "defaultValue": "1.19.2.2737-b69929dab",
            "description": "Check out their Docker page for the valid tags https://hub.docker.com/r/plexinc/pms-docker/tags",
            "validRegex": "/^([^\\s^\\/])+$/"
        },
        {
            "id": "$$cap_plex_token",
            "label": "Plex Claim Token",
            "description": "Get your token from https://www.plex.tv/claim",
            "validRegex": "/.{1,}/"
        },
        {
            "id": "$$cap_tz",
            "label": "Time Zone",
            "defaultValue": "America/New_York",
            "description": "Get yours from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones",
            "validRegex": "/.{1,}/"
        }
    ]
}