I wanted to have plex handled as part of swarm, but: a) it doesn't fucking matter becuase I don't intend to have fault tolerance for plex; i'm not even sure it can run well in a clustered way b) its just much much easier to get compose working rather than swarm. One day maybe i'd like to do that so that its a single stack to deliver, but meh.pms-docker
parent
e879095816
commit
35f7d0beb7
@ -0,0 +1,36 @@
|
||||
---
|
||||
|
||||
plex_ports:
|
||||
- description: for access to the Plex Media Server [required]
|
||||
port: 32400
|
||||
protocol: tcp
|
||||
- description: "https://forums.plex.tv/t/port-32401-is-listening-whats-it-used-for/83080"
|
||||
port: 32401
|
||||
protocol: tcp
|
||||
- description: for access to the Plex DLNA Server
|
||||
port: 1900
|
||||
protocol: udp
|
||||
- description: for controlling Plex Home Theater via Plex Companion
|
||||
port: 3005
|
||||
protocol: tcp
|
||||
- description: for older Bonjour/Avahi network discovery
|
||||
port: 5353
|
||||
protocol: udp
|
||||
- description: for controlling Plex for Roku via Plex Companion
|
||||
port: 8324
|
||||
protocol: tcp
|
||||
- description: for current GDM network discovery
|
||||
port: 32410
|
||||
protocol: udp
|
||||
- description: for current GDM network discovery
|
||||
port: 32412
|
||||
protocol: udp
|
||||
- description: for current GDM network discovery
|
||||
port: 32413
|
||||
protocol: udp
|
||||
- description: for current GDM network discovery
|
||||
port: 32414
|
||||
protocol: udp
|
||||
- description: for access to the Plex DLNA Server
|
||||
port: 32469
|
||||
protocol: tcp
|
@ -0,0 +1,24 @@
|
||||
version: '3.7'
|
||||
services:
|
||||
plex:
|
||||
image: plexinc/pms-docker:latest
|
||||
environment:
|
||||
- "TZ=America/Chicago"
|
||||
- "PLEX_CLAIM={{ vault_pms_claim_token }}"
|
||||
- "ADVERTISE_IP=http://pms.services.jowj.net:32400/"
|
||||
- "VERSION=docker"
|
||||
- "UMASK_SET=022"
|
||||
hostname: pms
|
||||
volumes:
|
||||
- /home/josiah/apps/plex/config:/config
|
||||
- /home/josiah/apps/plex/transcode:/transcode
|
||||
- /media/usenet:/data
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
network_mode: bridge
|
||||
ports:
|
||||
# Note that traefik isn't used for these ports - we're just exposing them directly
|
||||
{% for port in plex_ports %}
|
||||
- "{{ port.port }}:{{ port.port }}/{{ port.protocol }}"
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in new issue