# Discourse with Traefik 2.0

**URL:** https://meta.discourse.org/t/discourse-with-traefik-2-0/130357
**Category:** Self-hosting
**Created:** [October 6, 2019, 6:57pm UTC](https://meta.discourse.org/t/discourse-with-traefik-2-0/130357 "2019-10-06T18:57:04Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![PackElend](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/packelend/32/95294_2.png) [@PackElend](https://meta.discourse.org/u/PackElend)
#### Post date: [November 30, 2019, 7:09pm UTC](https://meta.discourse.org/t/discourse-with-traefik-2-0/130357/4 "2019-11-30T19:09:21Z")

</div>

@Cameron_D  
how did you find out that `docker_args` is the way to go?

> [@Discourse behind Traefik mouse](https://meta.discourse.org/t/discourse-behind-traefik/84874/7):
>
> I never got the labels section working, so I just have a docker\_args section that looks like this: docker\_args: - "--network=web" - "--expose=80" - "-l traefik.backend=forums" - "-l traefik.frontend.rule=Host:forums.domain.com,cf-cdn.domain.com" - "-l traefik.docker.network=web" - "-l traefik.port=80" Not necessarily elegant, but it works.

---

_[View the full topic](https://meta.discourse.org/t/discourse-with-traefik-2-0/130357)._
