Add host-gateway mapping for git.octoturge.com in every workspace container
Provision Coder Templates / build-images (push) Successful in 10s
Provision Coder Templates / provision (push) Successful in 54s

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:
2026-08-28 18:02:34 +02:00
parent 8b3653ee96
commit f377942e90
6 changed files with 42 additions and 0 deletions
+7
View File
@@ -204,6 +204,13 @@ resource "docker_container" "workspace" {
host = "code.octoturge.com" host = "code.octoturge.com"
ip = "host-gateway" 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 { volumes {
container_path = "/home/coder" container_path = "/home/coder"
volume_name = docker_volume.home_volume.name volume_name = docker_volume.home_volume.name
+7
View File
@@ -204,6 +204,13 @@ resource "docker_container" "workspace" {
host = "code.octoturge.com" host = "code.octoturge.com"
ip = "host-gateway" 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 { volumes {
container_path = "/home/coder" container_path = "/home/coder"
volume_name = docker_volume.home_volume.name volume_name = docker_volume.home_volume.name
+7
View File
@@ -204,6 +204,13 @@ resource "docker_container" "workspace" {
host = "code.octoturge.com" host = "code.octoturge.com"
ip = "host-gateway" 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 { volumes {
container_path = "/home/coder" container_path = "/home/coder"
volume_name = docker_volume.home_volume.name volume_name = docker_volume.home_volume.name
+7
View File
@@ -204,6 +204,13 @@ resource "docker_container" "workspace" {
host = "code.octoturge.com" host = "code.octoturge.com"
ip = "host-gateway" 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 { volumes {
container_path = "/home/coder" container_path = "/home/coder"
volume_name = docker_volume.home_volume.name volume_name = docker_volume.home_volume.name
+7
View File
@@ -204,6 +204,13 @@ resource "docker_container" "workspace" {
host = "code.octoturge.com" host = "code.octoturge.com"
ip = "host-gateway" 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 { volumes {
container_path = "/home/coder" container_path = "/home/coder"
volume_name = docker_volume.home_volume.name volume_name = docker_volume.home_volume.name
+7
View File
@@ -226,6 +226,13 @@ resource "docker_container" "workspace" {
host = "code.octoturge.com" host = "code.octoturge.com"
ip = "host-gateway" 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 { volumes {
container_path = "/home/coder" container_path = "/home/coder"
volume_name = docker_volume.home_volume.name volume_name = docker_volume.home_volume.name