docker-compose: clean up voice webhook port and API key env var

- Comment out port 3334 with a note; it is only needed when voice-call
  serve.bind is 0.0.0.0 for direct inbound access (not the default)
- Use ${OPENAI_API_KEY} without :-default so the var is only injected
  when actually set in the host environment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Forrest Blount 2026-03-11 21:03:31 +00:00
parent e554a0ea76
commit 766c6bc141

View File

@ -24,7 +24,9 @@ services:
ports:
- "${OPENCLAW_GATEWAY_PORT:-18789}:18789"
- "${OPENCLAW_BRIDGE_PORT:-18790}:18790"
- "${OPENCLAW_VOICE_WEBHOOK_PORT:-3334}:3334"
## Uncomment to expose the voice webhook port (required when voice-call plugin
## serve.bind is set to 0.0.0.0 for direct inbound webhook access):
# - "${OPENCLAW_VOICE_WEBHOOK_PORT:-3334}:3334"
init: true
restart: unless-stopped
command: