dns proxy
Build and Push Docker Images / build-and-push (push) Failing after 52s

This commit is contained in:
2026-08-30 23:00:48 +02:00
parent 23a2d1964a
commit 07924fe892
3 changed files with 87 additions and 0 deletions
@@ -0,0 +1,15 @@
services:
dns-proxy:
build: .
ports:
- "8080:8080"
environment:
TARGET_URL: "https://internal.example.com"
# PROXY_INSECURE_TLS: "1" # if upstream uses a self-signed cert
# PRESERVE_HOST: "1" # keep the client's Host header instead of the upstream host
dns:
- 10.0.0.53 # custom DNS required to resolve TARGET_URL
# Extra hosts are also an option instead of / alongside custom DNS:
# extra_hosts:
# - "internal.example.com:10.0.0.10"
restart: unless-stopped