use host ports for traefik which allows to see the real client's IP
This commit is contained in:
parent
60c4f17219
commit
84521ec8a9
1 changed files with 12 additions and 3 deletions
|
@ -23,9 +23,18 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
ports:
|
ports:
|
||||||
- 443:443
|
- mode: host
|
||||||
- 80:80
|
protocol: tcp
|
||||||
- 444:444
|
published: 443
|
||||||
|
target: 443
|
||||||
|
- mode: host
|
||||||
|
protocol: tcp
|
||||||
|
published: 80
|
||||||
|
target: 80
|
||||||
|
- mode: host
|
||||||
|
protocol: tcp
|
||||||
|
published: 444
|
||||||
|
target: 444
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
|
|
Reference in a new issue