fix: auto-detect Podman to avoid host-gateway incompatibility (#117)

Podman doesn't support the `host-gateway` special value in extra_hosts,
which causes container startup failures on macOS with Podman Desktop.

Changes:
- Add docker-compose.docker.yml with extra_hosts override for Docker
- Update shannon script to detect Podman via `command -v podman`
- Skip extra_hosts override when Podman is detected

This ensures:
- Docker users (Linux): Get host.docker.internal working automatically
- Podman users (macOS): Base config works without modification

Co-authored-by: ajmallesh <ajmallesh@gmail.com>
This commit is contained in:
ezl-keygraph
2026-02-11 01:51:48 +05:30
committed by GitHub
parent 1a51adb0a5
commit d1dbaa9603
2 changed files with 27 additions and 11 deletions

View File

@@ -0,0 +1,6 @@
# Docker-specific overrides (not used with Podman)
# This file is automatically included by the shannon script when running Docker
services:
worker:
extra_hosts:
- "host.docker.internal:host-gateway"