# Issue with getting an app to work behind Traefik

**URL:** <https://community.traefik.io/t/issue-with-getting-an-app-to-work-behind-traefik/3203>\
**Category:** Traefik v1\
**Tags:** docker\
**Created:** [November 28, 2019, 11:44am UTC](https://community.traefik.io/t/issue-with-getting-an-app-to-work-behind-traefik/3203 "2019-11-28T11:44:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jord](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@jord](https://community.traefik.io/u/jord)\
**Post date:** [November 28, 2019, 11:44am UTC](https://community.traefik.io/t/issue-with-getting-an-app-to-work-behind-traefik/3203/1 "2019-11-28T11:44:07Z")

</div>

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 🙂

```auto
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](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 🙂

Any advice would be much appreciated!

TIA!  
Jord

---

<div class="post-metadata">

**Author:** ![dduportal](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/dduportal/32/4_2.png) [@dduportal](https://community.traefik.io/u/dduportal)\
**Post date:** [November 28, 2019, 4:16pm UTC](https://community.traefik.io/t/issue-with-getting-an-app-to-work-behind-traefik/3203/2 "2019-11-28T16:16:34Z")

</div>

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?
