diff options
Diffstat (limited to 'support/docker')
-rw-r--r-- | support/docker/production/docker-compose.yml | 3 |
1 files changed, 2 insertions, 1 deletions
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: | |||
4 | 4 | ||
5 | reverse-proxy: | 5 | reverse-proxy: |
6 | image: traefik | 6 | image: traefik |
7 | network_mode: "host" | ||
7 | command: --docker # Tells Træfik to listen to docker | 8 | command: --docker # Tells Træfik to listen to docker |
8 | ports: | 9 | ports: |
9 | - "80:80" # The HTTP port | 10 | - "80:80" # The HTTP port |
@@ -13,7 +14,7 @@ services: | |||
13 | - ./docker-volume/traefik/acme.json:/etc/acme.json | 14 | - ./docker-volume/traefik/acme.json:/etc/acme.json |
14 | - ./docker-volume/traefik/traefik.toml:/traefik.toml | 15 | - ./docker-volume/traefik/traefik.toml:/traefik.toml |
15 | restart: "always" | 16 | restart: "always" |
16 | # If you want to use the Traefik dashboard, you should expose it on a | 17 | # If you want to use the Traefik dashboard, you should expose it on a |
17 | # subdomain with HTTPS and authentification: | 18 | # subdomain with HTTPS and authentification: |
18 | # https://medium.com/@xavier.priour/secure-traefik-dashboard-with-https-and-password-in-docker-5b657e2aa15f | 19 | # https://medium.com/@xavier.priour/secure-traefik-dashboard-with-https-and-password-in-docker-5b657e2aa15f |
19 | # https://github.com/containous/traefik/issues/880#issuecomment-310301168 | 20 | # https://github.com/containous/traefik/issues/880#issuecomment-310301168 |