Skip to content

feat(testgres): opt-in host networking to bypass docker NAT under VPN#221

Open
gogoncalves wants to merge 1 commit into
noverde:mainfrom
DotzInc:feat/testgres-host-network
Open

feat(testgres): opt-in host networking to bypass docker NAT under VPN#221
gogoncalves wants to merge 1 commit into
noverde:mainfrom
DotzInc:feat/testgres-host-network

Conversation

@gogoncalves

Copy link
Copy Markdown
Contributor

Contain

  • New feature
  • Bugfix
  • Tests
  • Documentation
  • Build/CI/CD
  • Breaking changes
  • Refactor
  • Configuration changes
  • Migrations

Details

  • Add opt-in Docker host networking to testgres via TESTGRES_DOCKER_NETWORK (e.g. host) + TESTGRES_PORT (default 5433 in host mode). Bypasses docker-proxy/iptables NAT, which makes published ports unreachable when a VPN is active — letting tests run locally under VPN.
  • Default behavior unchanged (published port) when the env is unset.

Task

N/A

@gogoncalves
gogoncalves force-pushed the feat/testgres-host-network branch from 45c9f9c to e3ab68f Compare June 30, 2026 01:36
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