Skip to content

feat: add reverse proxy support#346

Merged
nicoloboschi merged 10 commits intomainfrom
no-root
Feb 12, 2026
Merged

feat: add reverse proxy support#346
nicoloboschi merged 10 commits intomainfrom
no-root

Conversation

@nicoloboschi
Copy link
Collaborator

No description provided.

- Replace 'docker-compose' with 'docker compose' (Docker Compose v2+)
- Add fallback to legacy docker-compose command for compatibility
- Fixes test failures on systems using Docker Compose plugin
- Add get_docker_compose_command() to detect available command
- Use shutil.which() to check command availability
- Dynamically use correct command (docker compose vs docker-compose)
- Should work in both modern and legacy Docker environments
Fix connection refused error in test_reverse_proxy_simple_config by
handling host vs bridge networking modes correctly:

- Linux (host mode): nginx listens on 18080 directly, no port mapping
- Mac/Windows (bridge mode): nginx listens on 80, mapped to 18080

With host networking, port mappings in docker-compose don't work since
the container binds directly to the host's network namespace.
@nicoloboschi nicoloboschi merged commit 93ddd41 into main Feb 12, 2026
23 of 28 checks passed
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