mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-02-12 17:22:50 +00:00
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:
6
docker-compose.docker.yml
Normal file
6
docker-compose.docker.yml
Normal 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"
|
||||
Reference in New Issue
Block a user