I have an issue that I have been fighting for over a week now. I have scoured this site looking for answers and seem to be running in circles. If this is in the wrong place sorry I can move it. I don’t usually post on blogs.
Problem
I am unable to access my Containers from outside my local network 172.168.x.x - Oddly enough the containers work on bridge mode only. Host mode I get no response from the GUI.
Being relatively new to docker-compose and working the admin side of a container. This thing is whooping my @$$. Not to mention Networking has never been my strong suit.
Details
The Host connections to 0.0.0.0:{Host_IP} does not come up. Assuming that I understand the syntax correctly in the docker compose the file.
- port
- {host_ip;docker_ip}
- 9090:9090
bridge mode only work with 192.168.x.x.
Additional Details.
I have 2 separate systems running programs that require a web GUI for configuration and access. I do manage both of these systems from remote Laptop.
System 1: The PI that I can access my home assistant just fine from the web. (Why is this important?) Because I know my router and DNS provider are connected and configured correctly.
System 2: My Linux/Ubuntu 18.04 system that I can access my Plex media server correctly. (Contains Docker Container that does not connect correctly and PMS on both a container and Home drive. Both are not running at the same time.)
Note: I Uncomment the PLex in the Docker, shut down the local version of PMS in the home directory in an effort to migrate the PMS does not connect using http://mydnsname.org:9090. nor localhost:9090 or 0.0.0.0:9090 the only connection i am unable to make is using 192.168.x.x:9090
I am not so worried about plex however I would like to get Organizer and Home assistant Plexpy Next or Own cloud and OMBI running so I can access outside the local network.
I am running a fresh install of Ubuntu as I just updated my RAID about 10 days ago and have been working on these containers eversince.
Dockers are managed in docker-compose.yml
version: “3.6”
services:
VPN Container - Generate Network for VPN Containers.
vpn:
image: bubuntux/nordvpn
container_name: vpn
cap_add:
- NET_ADMIN
volumes:
- “/etc/localtime:/etc/localtime:ro”
environment:
- "USER=xxx
- "PASS=xxx
- COUNTRY=ca
- “CATEGORY=P2P”
- “PROTOCOL=openvpn_udp”
- “NETWORK=192.x.x.x”
devices:
- “/dev/net/tun”
ports:
- “8112:8112”
Organizer - Unified HTPC/Home Server Web Interface
organizr:
container_name: organizr
network_mode: bridge
hostname: organizr
restart: always
image: lsiocommunity/organizr
volumes:
- /home/syth/Docker/organizr:/config
- /home/syth/Docker/shared:/shared
ports:
- “8090:8090”
environment:
Home Assistant - Smart Home Hub
homeassistant:
container_name: homeassistant
hostname: hass
network_mode: bridge
restart: always
image: homeassistant/home-assistant
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyUSB1:/dev/ttyUSB1
- /dev/ttyACM0:/dev/ttyACM0
volumes:
- /home/syth/Docker/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
- /home/syth/Docker/shared:/shared
ports:
- “8100:8100”
privileged: true
environment:
- Hidden
Tautulli (aka PlexPy) – Monitoring Plex Usage
tautulli:
container_name: tautulli
hostname: tautulli
restart: always
image: linuxserver/tautulli
volumes:
- /home/syth/Docker/tautulli/config:/config
- /home/syth/Docker/tautulli/logs:/logs:ro
- /home/syth/Docker/shared:/shared
ports:
- “8181:8181”
environment:
- Hidden
Ombi – Accept Requests for your Media Server
ombi:
container_name: ombi
hostname: ombi
restart: always
image: linuxserver/ombi
volumes:
- /home/syth/Docker/ombi:/config
- /home/syth/Docker/shared:/shared
ports:
- “3579:3579”
environment: