chore: use socket-proxy for traefik
All checks were successful
CI / validateComposeSyntax (push) Successful in 19s

This commit is contained in:
LRVT
2025-02-19 16:13:51 +01:00
parent 7987eb8b13
commit 70c24a7ece
3 changed files with 75 additions and 39 deletions

View File

@@ -59,7 +59,7 @@ entryPoints:
address: :80
forwardedHeaders:
trustedIPs: &trustedIps
# Start of Clouflare public IP list for HTTP requests, remove this if you don't use it; https://www.cloudflare.com/de-de/ips/
# start of Clouflare public IP list for HTTP requests, remove this if you don't use it; https://www.cloudflare.com/de-de/ips/
- 103.21.244.0/22
- 103.22.200.0/22
- 103.31.4.0/22
@@ -82,7 +82,7 @@ entryPoints:
- 2405:8100::/32
- 2a06:98c0::/29
- 2c0f:f248::/32
# End of Cloudlare public IP list
# end of Cloudlare public IP list
http:
redirections:
entryPoint:
@@ -93,7 +93,7 @@ entryPoints:
https:
address: :443
forwardedHeaders:
# Reuse list of Cloudflare Trusted IP's above for HTTPS requests
# reuse list of Cloudflare Trusted IP's above for HTTPS requests
trustedIPs: *trustedIps
# enable HTTP3 QUIC via UDP/443
#http3:
@@ -122,9 +122,8 @@ providers:
# Docker provider for connecting all apps that are inside of the docker network
docker:
watch: true
network: proxy # Add Your Docker Network Name Here
#endpoint: "tcp://socket-proxy:2375"
# Default host rule to containername.domain.example
network: proxy # add Your Docker Network Name Here
endpoint: "tcp://socket-proxy:2375" # use socket-proxy for secure access to docker api
defaultRule: "Host(`{{ index .Labels \"com.docker.compose.service\"}}.example.com`)" # change 'example.com' to your proxy domain
exposedByDefault: false