• 0 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle



  • Ah okay. You need some sort of reverse proxy.
    I really like caddy. Using it with caddy-docker-proxy in docker-compose makes it quite nifty:

    version: '3.7'
    services:
      whoami:
        image: containous/whoami
        networks:
          - caddy
        labels:
          caddy: http://whoami.mylab.home
          caddy.reverse_proxy: "{{upstreams 80}}"
    
    networks:
      caddy:
        external: true
    
    

    Just make sure to explicitly use ‘http’ instead of ‘https’. That way it won’t try to create certificates.