I am new to Plex and wanted to test it on my docker-compose host. What I did is creating the specific docker-compose.yml and started. It seems it’s all working however when I logon the webinterface it’s looking for a server. That’s a bit confusing as I thought this is the server Can someone help
Here the file:
version: '2'
services:
linuxserver-plex:
container_name: linuxserver-plex
restart: unless-stopped
image: linuxserver/plex:latest
environment:
- TZ=Europe/Stockholm
- VERSION=latest
ports:
- "32400:32400" #(for access to the Plex Media Server) [required]
- "32400:32400/udp"
- "32410:32410/udp" #(for current GDM network discovery)
- "32412:32412/udp"
- "32413:32413/udp"
- "32414:32414/udp"
- "32469:32469" #(for access to the Plex DLNA Server)
- "32469:32469/udp"
- "5353:5353" # (for older Bonjour/Avahi network discovery)
#- "1900:1900/udp" #(for access to the Plex DLNA Server)
volumes:
- /mnt/plex:/config
- /mnt/LPS/Videos:/data/movies
@alex_ba_gmx_de: I am running in docker, but using compose file v3.5 and the official plex image…
Maybe try something like this?
Make sure to read the comments…
version: "3.5"
networks:
internal:
name: _lps_internal
internal: true
default:
name: _lps_external
services:
# plex - needs no introduction ;)
plex:
container_name: linuxserver-plex
hostname: linuxserver-plex
restart: unless-stopped
image: plexinc/pms-docker # change this to plexinc/pms-docker:plexpass if you are a plexpass subscriber
networks:
- internal
- default
volumes:
- /mnt/plex:/config
- /mnt/plex-tmp:/transcode # Added this to keep image small
- /mnt/LPS:/data # Changed this so you can add other libraries simply
- /usr/share/zoneinfo/Europe/Stockholm:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
ports:
- 32400:32400
- 32400:32400/udp
- 3005:3005
- 8324:8324
- 32469:32469
- 32469:32469/udp
- 1900:1900
- 1900:1900/udp
- 32410:32410
- 32410:32410/udp
- 32412:32412
- 32412:32412/udp
- 32413:32413
- 32413:32413/udp
- 32414:32414
- 32414:32414/udp
environment:
- PLEX_UID=1000 # Make this the uid of your user account (type "id" in terminal and look for uid=xxxx)
- PLEX_GID=1000 # Make this the gid of your user account (type "id" in terminal and look for gid=xxxx)
- PLEX_CLAIM="YOUR_CLAIM_TOKEN" # Visit https://www.plex.tv/claim to get your claim token
- ADVERTISE_IP="http://10.0.0.129:32400/"
- TZ=Europe/Stockholm
Running official plexms image in Docker on ubuntu 18.04. Image runs ok and can access server from localhost:32400 but can’t get to server from apps or plex.tv. Reloaded this about 5 times and still it says server is unavailable. This is on internal network so no issues with firewalls or ports.
Can anyone help as I’ve already spent most of today on this.
This is my config
See the port section of this docker-compose.yaml and map your ports accordingly.
version: "3.5"
services:
# plex - needs no introduction ;)
plex:
container_name: live
hostname: live
restart: unless-stopped
image: plexinc/pms-docker:plexpass # change this to plexinc/pms-docker:plexpass if you are a plexpass subscriber
network_mode: host
volumes:
- ~/plex/plex:/config
- ~/plex/plex-tmp:/transcode # Added this to keep image small
- ~/plex/LPS:/data # Changed this so you can add other libraries simply
- /usr/share/zoneinfo/America/Los_Angeles:/etc/localtime:ro
ports:
- 32400:32400
- 32400:32400/udp
- 3005:3005
- 8324:8324
- 32469:32469
- 32469:32469/udp
- 1900:1900
- 1900:1900/udp
- 32410:32410
- 32410:32410/udp
- 32412:32412
- 32412:32412/udp
- 32413:32413
- 32413:32413/udp
- 32414:32414
- 32414:32414/udp
environment:
- PLEX_UID=1000 # Make this the uid of your user account (type "id" in terminal and look for uid=xxxx)
- PLEX_GID=1000 # Make this the gid of your user account (type "id" in terminal and look for gid=xxxx)
- ADVERTISE_IP="http://10.0.1.111:32400/"
- TZ=America/Los_Angeles
- ALLOWED_NETWORKS="10.0.1.0/24"
- PLEX_CLAIM="claim" # Visit https://www.plex.tv/claim to get your claim token