1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-18 20:21:45 +00:00

Readd hostmode

This commit is contained in:
Benjamin Durham
2021-11-03 15:57:42 +13:00
committed by GitHub
parent 9bd53a99ce
commit 4f0af2a786

View File

@@ -140,9 +140,17 @@ services:
# original source IP, which would impact logging. If you don't care about this, you can expose ports the # original source IP, which would impact logging. If you don't care about this, you can expose ports the
# "minimal" way instead # "minimal" way instead
ports: ports:
- "80:80" - target: 80
- "8080:8080" # traefik dashboard published: 80
- "443:443" protocol: tcp
mode: host
- target: 443
published: 443
protocol: tcp
mode: host
- target: 8080
published: 8080
protocol: tcp
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- /var/data/config/traefikv2:/etc/traefik - /var/data/config/traefikv2:/etc/traefik