Commit a02e21b
fix(clickhouse): restore network listening hidden by config.d bind-mount
The clickhouse-server image ships config.d/docker_related_config.xml, which
sets listen_host to 0.0.0.0/:: so the server is reachable over the network.
Bind-mounting the host's config.d (to deliver quiet-logs.xml) replaces the
image's config.d directory and hides that file, so on the next restart the
server falls back to its localhost-only default: 8123/9000 stop answering
externally while SSH and local clients still work.
Re-supply the listen config as config.d/listen.xml so a bind-mounted config.d
keeps the instance publicly reachable. Access stays gated by the security
group (8123/9000 admin CIDRs) and admin.xml networks.
Note: aws_instance has lifecycle.ignore_changes = [user_data], so this takes
effect when the instance is rebuilt, not on apply. The live box was hotfixed
with the same file; this makes it durable across instance replacement.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 51eb090 commit a02e21b
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
88 | 105 | | |
89 | 106 | | |
90 | 107 | | |
| |||
0 commit comments