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