title: Traefik with Docker Networks
body: <p>I really don't get how to use traefik with docker networks. </p>
  
  <p>I try to run "wekan" kanban. If I bind ports to host, it works perfectly, so it really is about adressing it through traefik. Here is my docker-config:</p>
  
  <pre><code>version: '2'
  
  services:
  
   wekandb:
     image: mongo:3.2.14
     container_name: wekan-db
     command: mongod --smallfiles --oplogSize 128
     networks:
       - wekan-tier
     expose:
       - 27017
     volumes:
       - wekan-db:/data/db
       - wekan-db-dump:/dump
  
   wekan:
     image: wekanteam/wekan:latest
     container_name: wekan-app
     networks:
       - wekan-tier
  #    ports:
  #      - 8081:80
     environment:
       - MONGO_URL=mongodb://wekandb:27017/wekan
       - ROOT_URL=https://wekan.domain.com
     depends_on:
       - wekandb
     labels:
       - "traefik.port=80"
       - "traefik.backend=wekan"
       - "traefik.frontend.rule=Host:wekan.domain.com"
       - "traefik.docker.network=wekan_wekan-tier"
  volumes:
   wekan-db:
     driver: local
   wekan-db-dump:
     driver: local
  
  networks:
   wekan-tier:
     driver: bridge
  </code></pre>
  
  <p>I can't seem to find a way to access the damn thing... Your answer will be greatly appreciated, not only will it allow me to run Wekan, but also to update my older services where I used linking:linking instead of Docker Networks - Linking being now deprecated.</p>