What could be causing a bad gateway message with an Indicium docker container?
I've already verified that all containers (including traefik) are on the same Docker network (the default network made by docker compose).
This is the line from the traefik log:
1502 Bad Gateway error="dial tcp 172.18.0.6:8080: connect: connection refused"According to βdocker network inspectβ 172.18.0.6 is the correct internal IP address for the Indicium container.
This weirdly doesn't happen with the Universal container as it serves the login page just fine.
Each container uses its own subdomain as the external host.
This is my docker-compose.yaml:
1---2services:3 proxy:4 image: traefik5 restart: unless-stopped6 ports:7 - 80:808 command:9 - "--providers.docker=true"10 - "--providers.docker.exposedbydefault=false"11 - "--entrypoints.web.address=:80"12 - "--accesslog=true"13 - "--log.level=DEBUG"14 - "--log.filePath=/logs/traefik.log"15 volumes:16 - "/var/run/docker.sock:/var/run/docker.sock"17 - ./logs/:/logs/1819 universal_prod:20 image: registry.thinkwisesoftware.com/public/universal:${TAGPROD}21 restart: unless-stopped22 environment:23 - SERVICE_URL=http://${EXTERNAL_HOST_INDICIUM_PROD}/indicium/iam/iam24 - DEFAULT_APPLICATION=APP25 labels:26 - "traefik.enable=true"27 - "traefik.http.routers.frontend.rule=Host(`${EXTERNAL_HOST_UNIVERSAL_PROD}`)"2829 indicium_prod:30 image: registry.thinkwisesoftware.com/public/indicium:${TAGPROD}31 restart: unless-stopped32 environment:33 - SQL_SERVER=${SQL_SERVER_PROD}34 - SQL_DATABASE=${SQL_DATABASE_PROD}35 - SQL_USERNAME=${SQL_USERNAME_PROD}36 - SQL_PASSWORD=${SQL_PASSWORD_PROD}37 - ENABLE_REVERSE_PROXY=true38 - ALLOWED_HEADERS=All39 - TRUSTED_NETWORKS=0.0.0.0/040 - EXTERNAL_PATH_BASE=/indicium41 - CUSTOM_JSON={"Agent":{"Enabled":false}}42 labels:43 - "traefik.enable=true"44 - "traefik.http.routers.backend.rule=(Host(`${EXTERNAL_HOST_INDICIUM_PROD}`) && PathPrefix(`/indicium`))"45 - "traefik.http.middlewares.backend.stripprefix.prefixes=/indicium"46 - "traefik.http.routers.backend.middlewares=backend"This is my .env file:
1# Versions of the images to pull2TAGPROD=2025.134# Hostnames/IP addresses to access the platforms5EXTERNAL_HOST_INDICIUM_PROD=indicium.domain.local6EXTERNAL_HOST_UNIVERSAL_PROD=universal.domain.local78# Hostnames/IP addresses of the database servers9SQL_SERVER_PROD=HOSTNAME1011# Databases to use12SQL_DATABASE_PROD=DBNAME1314# Usernames to access the databases15SQL_USERNAME_PROD=******1617# Passwords to access the databases18SQL_PASSWORD_PROD=******



