Bad Gateway in Docker

Hi there,
I feel very bad for asking but I am new to this whole docker and webapp thing.
So please feel free to attack anytime and refer to your best manuals.
I have following setup:
Server on a public IP
Docker with running Portainer in Host Mode and available over public IP on port 9443.
Compose File in Portainer with a empty defined network

  1. Meshcentral Database
  2. Meshcentral (with labels)
  3. Traefik
  4. network = mcnet {}
Compose file

version: '3.3'
services:
traefik:
restart: always
image: "traefik:v2.9"
container_name: "traefik"
networks:
- mcnet
extra_hosts:
- "host.docker.internal:host-gateway"
command:
- "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"

   ports:
     - "80:80"
     - "8080:8080"
     - "443:443"
   volumes:
   - "/var/run/docker.sock:/var/run/docker.sock:ro"
mongodb:
    container_name: mc_db
    restart: always
    networks:
        -  mcnet
    image: mongo:4.4-focal
    expose:
        - 27017
    volumes:
        - '/mc_db:/opt/meshcentral-data/db'
meshcentral:
    restart: always
    container_name: mc
    networks:
        - mcnet
    depends_on:
        - 'mongodb'
    image: typhonragewind/meshcentral:mongodb
    ports:
        - 8086:443 #MeshCentral will moan and try everything not to use port 80, but you can also use it if you so desire, just change the config.json according to your needs
    expose:
        - 443
    environment:
        - HOSTNAME=mesh2.zignage.com
        - REVERSE_PROXY=xx.xx.xx.xx
        - REVERSE_PROXY_TLS_PORT=443
        - IFRAME=false #set to true if you wish to enable iframe support
        - ALLOW_NEW_ACCOUNTS=true    #set to false if you want disable self-service creation of new accounts besides the first (admin)
        - WEBRTC=false  #set to true to enable WebRTC - per documentation it is not officially released with meshcentral, but is solid enough to work with. Use with caution
        - NODE_ENV=production
    volumes:
        - ./mc/data:/opt/meshcentral/meshcentral-data
        - ./mc/user_files:/opt/meshcentral/meshcentral-files
    labels:
        - "traefik.enable=true"
        - "traefik.http.routers.meshcentral.rule=Host(`mesh2.zignage.com`)"
        - "traefik.http.routers.meshcentral.entrypoints=web"
        - "traefik.http.services.meshcentral.loadbalancer.server.scheme=http"
        - "traefik.http.services.meshcentral.loadbalancer.server.port=80"

networks:
mcnet: {}

I get a Bad Gateway response when I try to visit port 80. 443 is not responding.
This is a network problem but I am not sure where and what to set

Traefik logs

time="2023-03-01T17:24:10Z" level=debug msg="Provider connection established with docker 23.0.1 (API 1.42)" providerName=docker

time="2023-03-01T17:24:10Z" level=debug msg="Filtering disabled container" providerName=docker container=traefik-mesh2-773fc405980571599b28582752361f95444cf567f2987c3ed62fc8846d988251

time="2023-03-01T17:24:10Z" level=debug msg="Filtering disabled container" providerName=docker container=mongodb-mesh2-20da30320ef7b68eca9e86117a2f770d84272aeab381eb2e62528bcf72245fa6

time="2023-03-01T17:24:10Z" level=debug msg="Filtering disabled container" container=portainer-bc6e0ce29f219fc3e863329cdbc27a05a289c8dc6d2f08f00be71ff9a72b938a providerName=docker

time="2023-03-01T17:24:10Z" level=debug msg="Configuration received: {"http":{"routers":{"meshcentral":{"entryPoints":["web"],"service":"meshcentral","rule":"Host(mesh2.zignage.com)"}},"services":{"meshcentral":{"loadBalancer":{"servers":[{"url":"http://192.168.32.2:80"}],"passHostHeader":true}}}},"tcp":{},"udp":{}}" providerName=docker

time="2023-03-01T17:24:11Z" level=debug msg="No default certificate, fallback to the internal generated certificate" tlsStoreName=default

time="2023-03-01T17:24:11Z" level=debug msg="Added outgoing tracing middleware api@internal" middlewareType=TracingForwarder entryPointName=traefik routerName=api@internal middlewareName=tracing

time="2023-03-01T17:24:11Z" level=debug msg="Added outgoing tracing middleware dashboard@internal" routerName=dashboard@internal middlewareType=TracingForwarder middlewareName=tracing entryPointName=traefik

time="2023-03-01T17:24:11Z" level=debug msg="Creating middleware" middlewareType=StripPrefix entryPointName=traefik routerName=dashboard@internal middlewareName=dashboard_stripprefix@internal

time="2023-03-01T17:24:11Z" level=debug msg="Adding tracing to middleware" routerName=dashboard@internal middlewareName=dashboard_stripprefix@internal entryPointName=traefik

time="2023-03-01T17:24:11Z" level=debug msg="Creating middleware" entryPointName=traefik routerName=dashboard@internal middlewareType=RedirectRegex middlewareName=dashboard_redirect@internal

time="2023-03-01T17:24:11Z" level=debug msg="Setting up redirection from ^(http:\/\/(\[[\w:.]+\]|[\w\._-]+)(:\d+)?)\/$ to ${1}/dashboard/" routerName=dashboard@internal middlewareType=RedirectRegex middlewareName=dashboard_redirect@internal entryPointName=traefik

time="2023-03-01T17:24:11Z" level=debug msg="Adding tracing to middleware" entryPointName=traefik routerName=dashboard@internal middlewareName=dashboard_redirect@internal

time="2023-03-01T17:24:11Z" level=debug msg="Creating middleware" middlewareType=Recovery entryPointName=traefik middlewareName=traefik-internal-recovery

time="2023-03-01T17:24:11Z" level=debug msg="No default certificate, fallback to the internal generated certificate" tlsStoreName=default

time="2023-03-01T17:24:11Z" level=debug msg="Added outgoing tracing middleware api@internal" middlewareType=TracingForwarder entryPointName=traefik routerName=api@internal middlewareName=tracing

time="2023-03-01T17:24:11Z" level=debug msg="Added outgoing tracing middleware dashboard@internal" middlewareType=TracingForwarder entryPointName=traefik routerName=dashboard@internal middlewareName=tracing

time="2023-03-01T17:24:11Z" level=debug msg="Creating middleware" entryPointName=traefik routerName=dashboard@internal middlewareName=dashboard_stripprefix@internal middlewareType=StripPrefix

time="2023-03-01T17:24:11Z" level=debug msg="Adding tracing to middleware" middlewareName=dashboard_stripprefix@internal entryPointName=traefik routerName=dashboard@internal

time="2023-03-01T17:24:11Z" level=debug msg="Creating middleware" entryPointName=traefik routerName=dashboard@internal middlewareName=dashboard_redirect@internal middlewareType=RedirectRegex

time="2023-03-01T17:24:11Z" level=debug msg="Setting up redirection from ^(http:\/\/(\[[\w:.]+\]|[\w\._-]+)(:\d+)?)\/$ to ${1}/dashboard/" middlewareName=dashboard_redirect@internal middlewareType=RedirectRegex entryPointName=traefik routerName=dashboard@internal

time="2023-03-01T17:24:11Z" level=debug msg="Adding tracing to middleware" entryPointName=traefik routerName=dashboard@internal middlewareName=dashboard_redirect@internal

time="2023-03-01T17:24:11Z" level=debug msg="Creating middleware" entryPointName=traefik middlewareName=traefik-internal-recovery middlewareType=Recovery

time="2023-03-01T17:24:11Z" level=debug msg="Creating middleware" entryPointName=web serviceName=meshcentral middlewareName=pipelining middlewareType=Pipelining routerName=meshcentral@docker

time="2023-03-01T17:24:11Z" level=debug msg="Creating load-balancer" routerName=meshcentral@docker entryPointName=web serviceName=meshcentral

time="2023-03-01T17:24:11Z" level=debug msg="Creating server 0 http://192.168.32.2:80" routerName=meshcentral@docker entryPointName=web serviceName=meshcentral serverName=0

time="2023-03-01T17:24:11Z" level=debug msg="child http://192.168.32.2:80 now UP"

time="2023-03-01T17:24:11Z" level=debug msg="Propagating new UP status"

time="2023-03-01T17:24:11Z" level=debug msg="Added outgoing tracing middleware meshcentral" middlewareType=TracingForwarder middlewareName=tracing entryPointName=web routerName=meshcentral@docker

time="2023-03-01T17:24:11Z" level=debug msg="Creating middleware" entryPointName=web middlewareName=traefik-internal-recovery middlewareType=Recovery

time="2023-03-01T17:24:38Z" level=debug msg="'502 Bad Gateway' caused by: dial tcp 192.168.32.2:80: connect: connection refused"

time="2023-03-01T17:24:38Z" level=debug msg="'499 Client Closed Request' caused by: context canceled"

Thanks for any help.

Please format config and logs with 3 backticks for improved readability.

How do you "visit port 80"? With a browser and a domain name?

Do you have a Traefik entrypoint for port 443 declared?