Skip to content

feat: replace network_mode host with extra_hosts and socat#13

Merged
kimpepper merged 1 commit into
mainfrom
feat/socat-host-gateway
Jun 14, 2026
Merged

feat: replace network_mode host with extra_hosts and socat#13
kimpepper merged 1 commit into
mainfrom
feat/socat-host-gateway

Conversation

@kimpepper

@kimpepper kimpepper commented Jun 12, 2026

Copy link
Copy Markdown
Contributor
  • Replace network_mode: host with extra_hosts: host.docker.internal:host-gateway (works on macOS and Linux)
  • Remove JETBRAINS_IDE_HOST env var; hardcode host.docker.internal in config.json
  • Add JETBRAINS_MCP_PORT env var (default 64343) for the socat listen port
  • JetBrains MCP only binds to 127.0.0.1:64342 so socat must use a different port — run on the host: socat TCP-LISTEN:64343,fork,reuseaddr TCP:127.0.0.1:64342
  • Add network_mode: "service:<name>" as a documented alternative to extra_hosts

@kimpepper kimpepper force-pushed the feat/socat-host-gateway branch 4 times, most recently from 4a993a8 to ff16079 Compare June 12, 2026 07:47
@kimpepper kimpepper force-pushed the feat/socat-host-gateway branch from ff16079 to 59b9911 Compare June 14, 2026 23:26
@kimpepper kimpepper merged commit cf5d93f into main Jun 14, 2026
1 check passed
@kimpepper kimpepper deleted the feat/socat-host-gateway branch June 14, 2026 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant