Issue with getting an app to work behind Traefik

Hey guys,

I'm looking to get an app called CMDBuild to work behind Traefik and it seems to take me to the login page of the app, however once I try and post my login details the app hangs.

My docker compose is here for reference, if anyone can tell me if there is something immediately wrong with the config I'd really appreciate it :slight_smile:

version: "2.4"
volumes:
    cmdbuild-db:
    cmdbuild-tomcat:
networks:
    web:
        external: true
    internal:
        external: false
services:
    cmdbuild_db:
        image: itmicus/cmdbuild:db-3.0
        container_name: cmdbuild_db
        volumes:
            - cmdbuild-db:/var/lib/postgresql
        ports:
            - 5432:5432
        environment:
            - POSTGRES_USER=postgres
            - POSTGRES_PASS=
        restart: on-failure
        mem_limit: 1000m
        mem_reservation: 300m
        networks:
            - internal
        labels:
            - traefik.enable=false
    cmdbuild_app:
        image: itmicus/cmdbuild:r2u-2.0-3.1.1
        container_name: cmdbuild_app
        labels:
            - traefik.backend=helpme
            - traefik.frontend.rule=Host:.....
            - traefik.docker.network=web
            - traefik.port=8080
        networks:
            - internal
            - web
        links:
            - cmdbuild_db
        depends_on:
            - cmdbuild_db
 #       ports:
 #           - 8090:80
        restart: on-failure
        volumes:
            - cmdbuild-tomcat:/usr/local/tomcat
        environment:
            - POSTGRES_USER=postgres
            - POSTGRES_PASS=
            - POSTGRES_PORT=5432
            - POSTGRES_HOST=cmdbuild_db
            - POSTGRES_DB=ascendis_cmdbuild5
            - CMDBUILD_DUMP=ready2use_demo.dump.xz
            - JAVA_OPTS=-Xmx4000m -Xms2000m
        mem_limit: 4000m
        mem_reservation: 2000m

The original file is from https://github.com/itmicus/cmdbuild_docker

I've been making slight changes to the file to test as you'll notice, also for obvious reasons; host name and passwords omitted :slight_smile:

Any advice would be much appreciated!

TIA!
Jord

Hi @jord, a few remarks:

  • What does your Traefik looks like? How is it deployed, with which configuration? Can you share the debug logs also?
  • It looks like you're using Traefik v1. I'm moving the topic in the Traefik-v1 section FYI.
  • When you say that the applications hangs, can you share the "web developer "console export or screenshot? The goal is to identify which request is blocking, and how, from web browser (http client) side. If you can reproduce the error with a curl command, can you share it please?