-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 895 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 895 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
32
33
34
35
36
37
38
39
40
41
services:
proxy:
build: .
ports:
- "9211:9211"
- "9212:9212"
volumes:
- proxy-data:/app/data
- /var/run/docker.sock:/var/run/docker.sock
- ${CLAUDE_DIR:-~/.claude}:/host-claude-rw
environment:
- PROXY_API_KEY=${PROXY_API_KEY:-}
- UI_PORT=9211
- PROXY_PORT=9212
- DOCKER_SOCKET=/var/run/docker.sock
- SESSION_NETWORK=codegate_proxy-net
restart: unless-stopped
depends_on:
session-image:
condition: service_completed_successfully
networks:
- proxy-net
session-image:
build:
context: .
dockerfile: Dockerfile.session
image: codegate-session
command: ["echo", "codegate-session image ready"]
restart: "no"
networks:
- proxy-net
volumes:
proxy-data:
name: codegate-data
networks:
proxy-net:
name: codegate_proxy-net
driver: bridge