aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-24 16:28:56 +0200
committerChocobozzz <me@florianbigard.com>2019-04-24 16:28:56 +0200
commitf2e0cca90ba73eaf596412831506267205c4ab9f (patch)
tree14a6aeec07c6196bcbcecda598efb7bcc85d98fd /support/docker
parent7c3b79768bd174b22154e8d2df0b1211e01ee56a (diff)
downloadPeerTube-f2e0cca90ba73eaf596412831506267205c4ab9f.tar.gz
PeerTube-f2e0cca90ba73eaf596412831506267205c4ab9f.tar.zst
PeerTube-f2e0cca90ba73eaf596412831506267205c4ab9f.zip
Add host network mode for reverse proxy
Diffstat (limited to 'support/docker')
-rw-r--r--support/docker/production/docker-compose.yml3
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