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:
|
||||
- traefik
|
||||
ports:
|
||||
- 443:443
|
||||
- 80:80
|
||||
- 444:444
|
||||
- mode: host
|
||||
protocol: tcp
|
||||
published: 443
|
||||
target: 443
|
||||
- mode: host
|
||||
protocol: tcp
|
||||
published: 80
|
||||
target: 80
|
||||
- mode: host
|
||||
protocol: tcp
|
||||
published: 444
|
||||
target: 444
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
|
|
Reference in a new issue