mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2026-10-28 11:43:21 +00:00
Readd hostmode
This commit is contained in:
1 parent
9bd53a99ce
commit
4f0af2a786
1 file changed
+11
-3
@@ -140,9 +140,17 @@ services:
|
||||
# original source IP, which would impact logging. If you don't care about this, you can expose ports the
|
||||
# "minimal" way instead
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8080:8080" # traefik dashboard
|
||||
- "443:443"
|
||||
- target: 80
|
||||
published: 80
|
||||
protocol: tcp
|
||||
mode: host
|
||||
- target: 443
|
||||
published: 443
|
||||
protocol: tcp
|
||||
mode: host
|
||||
- target: 8080
|
||||
published: 8080
|
||||
protocol: tcp
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /var/data/config/traefikv2:/etc/traefik
|
||||
|
||||
Reference in new issue
Block a user