Add host-gateway mapping for git.octoturge.com in every workspace container
install-skills.sh curls git.octoturge.com at workspace startup (coder_script) to pull this repo's Agent Skills, but the workspace's public DNS answer for that hostname NAT-hairpins back through the LAN and times out (curl: (28) after ~147s). code.octoturge.com already has this exact host-gateway workaround in every template's docker_container.workspace resource; add the matching entry for git.octoturge.com. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YRq8ts9zwge8Rttbuku9FQ
This commit is contained in:
@@ -204,6 +204,13 @@ resource "docker_container" "workspace" {
|
||||
host = "code.octoturge.com"
|
||||
ip = "host-gateway"
|
||||
}
|
||||
# install-skills.sh curls this at startup to pull the repo's Agent Skills;
|
||||
# without this the workspace's public DNS answer for git.octoturge.com
|
||||
# NAT-hairpins back to the LAN and times out (curl: (28)).
|
||||
host {
|
||||
host = "git.octoturge.com"
|
||||
ip = "host-gateway"
|
||||
}
|
||||
volumes {
|
||||
container_path = "/home/coder"
|
||||
volume_name = docker_volume.home_volume.name
|
||||
|
||||
Reference in New Issue
Block a user