use host ports for traefik which allows to see the real client's IP

This commit is contained in:
Pim Kunis 2023-08-23 18:04:32 +02:00
parent 60c4f17219
commit 84521ec8a9

View file

@ -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: