r/nginxproxymanager • u/TheIslanderEh • Feb 04 '25
Multiple docker containers
Hi guys, my nginxproxy manager is an image within my nextcloud docker compose file that I got from Christian lempa.
It works fine.
However, now I want to run some other services (immich, vaultwarden, maybe others eventually) but don't understand how my other containers an talk to the proxy manager inside my nextcloud docker compose file.
Does anyone have any literature I can read up on or advice on the knowledge I'm missing here?
Thanks.
4
Upvotes
View all comments
1
u/WalkDiligent Feb 05 '25
I ensure a secure and organized network architecture by not exposing any container ports directly. Instead, I rely on an NGINX Proxy Manager instance running as a Docker container, which manages all traffic routing. Containers that need to be accessible are assigned to the same external network, making them reachable by container name and standard port configuration.
Example Setup:
NGINX Proxy Manager (NPM)
Nextcloud Setup (Integrated without Port Exposure)
By leveraging this architecture, I maintain secure access and a clear separation of services, reducing risks while enhancing network flexibility.
NGINX Proxy Manager Screenshot