Skip to content

Commit

Permalink
Merge pull request #43 from humpbackdev/feature/fix-traefik
Browse files Browse the repository at this point in the history
Update traefik configuration so that you can have several humpback instances running and proxy still works.
  • Loading branch information
kporras07 authored Mar 12, 2019
2 parents d5afc18 + ea52082 commit bce5107
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ services:
- VIRTUAL_HOST=${VIRTUAL_HOST-localhost}
labels:
- 'traefik.enable=true'
- 'traefik.backend=nginx'
- 'traefik.backend=${VIRTUAL_HOST}-nginx'
- 'traefik.frontend.rule=Host:${VIRTUAL_HOST-localhost}'
- 'traefik.docker.network=humpback_proxy'
- 'traefik.port=80'
Expand Down Expand Up @@ -133,7 +133,7 @@ services:
- humpback_proxy
labels:
- 'traefik.enable=true'
- 'traefik.backend=varnish'
- 'traefik.backend=${VIRTUAL_HOST}-varnish'
- 'traefik.frontend.rule=Host:varnish.${VIRTUAL_HOST-localhost}'
- 'traefik.docker.network=humpback_proxy'
- 'traefik.port=80'
Expand All @@ -150,7 +150,7 @@ services:
- humpback_proxy
labels:
- 'traefik.enable=true'
- 'traefik.backend=mailhog'
- 'traefik.backend=${VIRTUAL_HOST}-mailhog'
- 'traefik.frontend.rule=Host:mailhog.${VIRTUAL_HOST-localhost}'
- 'traefik.docker.network=humpback_proxy'
- 'traefik.port=8025'
Expand Down

0 comments on commit bce5107

Please sign in to comment.