Setting up Plex in the swarm

I had a stab at doing Plex on my own using the official pms-docker image but no matter what I do, I cannot get remote access to work. I tried using their network bridge example as a starter.

Using that example, I can get things to work locally by opening ports the old fashioned way in the yml file but I don’t know if this is the best option considering traefik etc.

Would be great to see this added to the swarm somewhere so I can follow expert guidance :stuck_out_tongue:

Thanks!

I’ll take a stab at this before Christmas :slight_smile:

If it helps, here’s a working, non-swarm instance I setup using docker-compose in 2015…

plex:
  image: linuxserver/plex
  volumes:
    - ./plex:/config
  volumes_from:
    - datastore
  ports:
    - 32469:32469
    - 32400:32400
    - 32401:32401
    - 3005:3005
    - 8324:8324
    - 1900:1900/udp
    - 32410:32410/udp
    - 32412:32412/udp
    - 32413:32413/udp
    - 32414:32414/udp
  env_file: uidgid.env
  environment:
    - EDGE=1
    - VERSION=latest
  restart: always

Cheers,
D

OK, here’s a more complete (but still minimal) recipe re deploying Plex as a standalone stack: https://geek-cookbook.funkypenguin.co.nz/recipies/plex/

I feel like this could be fleshed out a bit (maybe with the inclusion of plexpy and a cron container), but the basics are tested and working :slight_smile:

D