-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 1.36 KB
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (43 loc) · 1.36 KB
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
42
43
44
45
services:
devcontainer:
build:
context: .
dockerfile: .devcontainer/Dockerfile
args:
TZ: "America/Vancouver"
CLAUDE_CODE_VERSION: "latest"
GIT_DELTA_VERSION: "0.18.2"
ZSH_IN_DOCKER_VERSION: "1.2.0"
hostname: matplotlib-skill-devcontainer
volumes:
- .:/workspace:cached
- claude-code-bashhistory:/commandhistory
# NAMED volume, never a ${HOME}/.claude bind mount — a host mount lets the
# postCreate settings.json seed clobber the real host ~/.claude/settings.json.
- claude-code-config:/home/node/.claude
- codex-config:/home/node/.codex
- /var/run/docker.sock:/var/run/docker.sock
- ${SSH_AUTH_SOCK:-/dev/null}:/tmp/ssh-auth-host.sock
environment:
- NODE_OPTIONS=--max-old-space-size=4096
- CLAUDE_CONFIG_DIR=/home/node/.claude
- CLAUDE_CODE_NO_FLICKER=1
- POWERLEVEL9K_DISABLE_GITSTATUS=true
# Point bash/docker exec (not just zsh) at the forwarded host SSH agent so git push works.
- SSH_AUTH_SOCK=/tmp/ssh-auth-host.sock
working_dir: /workspace
command: sleep infinity
networks:
- matplotlib-skill-network
cap_add:
- NET_ADMIN
- NET_RAW
group_add:
- "999"
volumes:
claude-code-bashhistory:
claude-code-config:
codex-config:
networks:
matplotlib-skill-network:
driver: bridge