Commit 0ed312f
fix: pass SQUID_PROXY_HOST/PORT to init container for DNS resolution
setup-iptables.sh reads SQUID_PROXY_HOST (not AWF_SQUID_HOST), but the
init container only passed AWF_SQUID_HOST. Since the init container uses
network_mode: service:agent, it may not have DNS resolution for compose
service names, causing getent hosts to fail and the script to exit before
writing the ready signal. Use the direct IP address to avoid DNS issues.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6bc5d54 commit 0ed312f
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
1068 | | - | |
1069 | | - | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
1070 | 1073 | | |
1071 | 1074 | | |
1072 | 1075 | | |
| |||
0 commit comments