mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-24 01:14:27 +01:00
chore: use socket-proxy for traefik
All checks were successful
CI / validateComposeSyntax (push) Successful in 19s
All checks were successful
CI / validateComposeSyntax (push) Successful in 19s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user