I'm trying to change the internal port for the webui, and wondering if a command similar to the postgres setup works?
On postgres I add these lines and change DB_PORT on spotweb to match:
postgres-spotweb:
image: 'postgres'
container_name: postgres-spotweb
environment:
POSTGRES_USER: spotweb
POSTGRES_PASSWORD: spotweb
POSTGRES_DB: spotweb
PGPORT: 5433
expose:
- "5433"
ports:
- 5433:5433
command: -p 5433
volumes:
- ./spotweb/postgres-data:/var/lib/postgresql
The problem I have is with the spotweb WebUi. I run everything through a gluetun container, which means it publishes the ports for local access, and I have multiple overlapping ports for containers which I usually change the internal listening address of on the initial setup of those containers. I haven't been able to find any information on changing the internal away from 80. If I push 1080:80 in gluetun, it will push 1080 to every container that listens on 80.
- One solution I'll try later when I get back to my server is using something similar to Docker Wiki by directing it to the specific container, if it works. I'd still rather just change the internal listen port. And until I get a chance to try this I'm not sure if it'll even work.
old entries from gluetun.yml:
ports:
- 3333:3333 #bitmagnet
- 3334:3334/tcp #bitmagnet_bittorrent
- 3334:3334/udp #butmagnet_bittorrent
- 5432:5432 #bitmagnet-postgres
new potential entries from gluetun.yml:
ports:
- 3333:bitmagnet:3333 #bitmagnet
- 3334:bitmagnet:3334/tcp #bitmagnet_bittorrent
- 3334:bitmagnet:3334/udp #butmagnet_bittorrent
- 5432:bitmagnet-postgres:5432 #bitmagnet-postgres
- 8880:spotweb:80 #spotweb webui
- 5433:postgres-spotweb:5433 #postgres-spotweb
Thanks for any advice/ tips you might have. Maybe the internal port 80 is an easier fix than I'm making it.
I'm trying to change the internal port for the webui, and wondering if a command similar to the postgres setup works?
On postgres I add these lines and change DB_PORT on spotweb to match:
The problem I have is with the spotweb WebUi. I run everything through a gluetun container, which means it publishes the ports for local access, and I have multiple overlapping ports for containers which I usually change the internal listening address of on the initial setup of those containers. I haven't been able to find any information on changing the internal away from
80. If I push1080:80in gluetun, it will push1080to every container that listens on80.old entries from gluetun.yml:
new potential entries from gluetun.yml:
Thanks for any advice/ tips you might have. Maybe the internal port 80 is an easier fix than I'm making it.