Skip to content

Expose worker hostname as a proxy network alias - #152

Merged
vitormattos merged 2 commits into
mainfrom
fix/proxy-network-alias
Oct 5, 2026
Merged

vitormattos merged 2 commits into
mainfrom
fix/proxy-network-alias

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

Route the canonical worker hostname to the shared proxy inside the worker network.

Why

The previous Playwright fix mapped the worker hostname to host-gateway, but the shared proxy publishes HTTPS only on 127.0.0.1:443. Containers therefore cannot reach it through the Docker host gateway.

Changes

  • connect the shared proxy to each worker network with the worker's canonical NEXTCLOUD_HOST as a network alias;
  • remove the ineffective Playwright extra_hosts: host-gateway mapping;
  • update proxy unit coverage;
  • remove the obsolete worker contract assertion tied to host-gateway.

This keeps Playwright and other containers on the Docker network while still exercising the canonical proxied URL.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit b33c4de into main Oct 5, 2026
13 checks passed
@vitormattos
vitormattos deleted the fix/proxy-network-alias branch October 5, 2026 01:42
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