Skip to content

Commit

Permalink
Add host network mode for reverse proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Apr 24, 2019
1 parent 7c3b797 commit f2e0cca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion support/docker/production/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f2e0cca

Please sign in to comment.