Comment on I've set up docker services behind nginx proxy manager so they're accessible with https, but the http services are still open. How do I close them?

Scholars_Mate@lemmy.world [bot] ⁨4⁩ ⁨weeks⁩ ago

Are you using the default bridge? I have a similar setup (with Traefik instead of NPM), and for each compose file am using separate networks for the internet, proxy, and backend services.

services:
  some_service:
    ...
    networks:
      - frontend_network
      - proxy_network
      - backend_network
  backend_service:
    ...
    networks:
      - backend_network
networks:
  frontend_network:
    driver: "bridge"
  proxy_network:
    driver: "bridge"
    internal: true
  backend_network:
    driver: "bridge"
    internal: true

source
Sort:hotnewtop