-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
31 lines (30 loc) · 847 Bytes
/
Copy pathcompose.yaml
File metadata and controls
31 lines (30 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
agent-gateway:
build:
context: .
image: agent-gateway:local
container_name: agent-gateway
restart: unless-stopped
env_file:
- .env
environment:
AGENT_GATEWAY_HOST: 0.0.0.0
AGENT_GATEWAY_PORT: 8765
AGENT_GATEWAY_WORKDIR: /workspace
CLAUDE_BIN: claude
CODEX_BIN: codex
ports:
- "127.0.0.1:8765:8765"
volumes:
- ./workspace:/workspace
- ${HOME}/.claude:/home/app/.claude
- ${HOME}/.codex:/home/app/.codex
# Example: another app can call http://agent-gateway:8765/v1 inside this compose network.
# your-app:
# image: your-app:local
# environment:
# OPENAI_BASE_URL: http://agent-gateway:8765/v1
# OPENAI_API_KEY: ${AGENT_GATEWAY_API_KEY}
# depends_on:
# agent-gateway:
# condition: service_healthy