templates/docker-compose.waha.yml
# WAHA (WhatsApp HTTP API) with plain Docker (Colima), bound to localhost only.
# Kubernetes (k3d) alternative: k8s/waha.yaml + docs/11.
#
# set -a; source ~/.config/ts03-bot.env; set +a
# docker compose -f templates/docker-compose.waha.yml up -d
#
# Apple Silicon: devlikeapro/waha:arm (default here) · Intel: WAHA_IMAGE=devlikeapro/waha:latest
# Webhook host from a Colima container: host.docker.internal or host.lima.internal (test both, docs/11)
services:
waha:
image: ${WAHA_IMAGE:-devlikeapro/waha:arm}
platform: ${WAHA_PLATFORM:-linux/arm64}
container_name: waha
restart: unless-stopped
ports:
- "127.0.0.1:${WAHA_PORT:-3100}:3000"
volumes:
- ${HOME}/waha/sessions:/app/.sessions
environment:
WAHA_API_KEY: ${WAHA_KEY}
WHATSAPP_HOOK_URL: http://${WA_HOOK_HOST:-host.docker.internal}:${HOOK_PORT:-5055}/hook/${HOOK_SECRET}
WHATSAPP_HOOK_EVENTS: message.any
Questions or corrections: [email protected]