I just did a fresh install of Ubuntu 18.04 LTS with a docker compose following this guide: https://www.smarthomebeginner.com/docker-home-media-server-2018-basic/
I have everything working but when I connect to plex, even inside my own network if I don’t directly connect with the IP, I can only get an indirect connection. I have plex manually set to port 32400. I think my problem lies with UPnP somewhere. Before docker, my router had a bunch of UPnP listings. Now it doesn’t have a single one, and I had to manually forward Plex.
Here is my docker-compose.yml:
plexms:
container_name: plexms
restart: always
image: plexinc/pms-docker
volumes:
- /home/user/docker/plexms:/config
- /home/user/plextmp:/transcode
- /Plex/Windowsshare/PlexStorage:/media
- /mnt:/HDD
- /home/user/docker/shared:/shared
ports:
- “32400:32400/tcp”
- “3005:3005/tcp”
- “8324:8324/tcp”
- “32469:32469/tcp”
- “1900:1900/udp”
- “32410:32410/udp”
- “32412:32412/udp”
- “32413:32413/udp”
- “32414:32414/udp”
environment:
- TZ={TZ}
- HOSTNAME="Home"
- PLEX_CLAIM="claim"
- PLEX_UID={PUID}
- PLEX_GID=${PGID}
- ADVERTISE_IP=“192.168.1.135:32400/”
So far here is what I’ve tried:
• Added network_mode: host between restart and image in the yml.
• Added sudo ip route add 172.18.0.2 via 192.168.1.135 dev enp0s25 to try and set a static route.
• I tried to set a static route in my router but I only got an error, it will not let me set it.
• I have factory reset my router and set firewall to low.
• I added all the ports from the yml to manually forward.