From: Chocobozzz Date: Wed, 24 Apr 2019 14:28:56 +0000 (+0200) Subject: Add host network mode for reverse proxy X-Git-Tag: v1.3.0-rc.1~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f2e0cca90ba73eaf596412831506267205c4ab9f;p=oweals%2Fpeertube.git Add host network mode for reverse proxy --- diff --git a/support/docker/production/docker-compose.yml b/support/docker/production/docker-compose.yml index 1b0a28ffb..df21a14d4 100644 --- a/support/docker/production/docker-compose.yml +++ b/support/docker/production/docker-compose.yml @@ -4,6 +4,7 @@ services: reverse-proxy: image: traefik + network_mode: "host" command: --docker # Tells Træfik to listen to docker ports: - "80:80" # The HTTP port @@ -13,7 +14,7 @@ services: - ./docker-volume/traefik/acme.json:/etc/acme.json - ./docker-volume/traefik/traefik.toml:/traefik.toml restart: "always" - # If you want to use the Traefik dashboard, you should expose it on a + # If you want to use the Traefik dashboard, you should expose it on a # subdomain with HTTPS and authentification: # https://medium.com/@xavier.priour/secure-traefik-dashboard-with-https-and-password-in-docker-5b657e2aa15f # https://github.com/containous/traefik/issues/880#issuecomment-310301168