Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (51 loc) · 2.01 KB
/
Copy pathdocker-compose.yml
File metadata and controls
52 lines (51 loc) · 2.01 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
46
47
48
49
50
51
52
services:
code-server:
build:
context: .
args:
USER_UID: ${USER_UID:-1000}
USER_GID: ${USER_GID:-1000}
DOCKER_GID: ${DOCKER_GID:-1001}
ports:
- "${CODE_SERVER_PORT:-8080}:8080"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- PASSWORD=${CODE_SERVER_PASSWORD:?CODE_SERVER_PASSWORD must be set and non-empty}
- GIT_USER_NAME=${GIT_USER_NAME}
- GIT_USER_EMAIL=${GIT_USER_EMAIL}
- HOST_CODE_DIR=${HOST_CODE_DIR}
- HOST_HOME_DIR=${HOST_HOME_DIR}
- GH_TOKEN=${GITHUB_TOKEN}
- ACQUIA_KEY=${ACQUIA_KEY}
- ACQUIA_SECRET=${ACQUIA_SECRET}
- ACSF_API_KEY=${ACSF_API_KEY}
- ACSF_USERNAME=${ACSF_USERNAME}
- OPENAI_KEY=${OPENAI_KEY}
- HOMEASSISTANT_WEBHOOK=${HOMEASSISTANT_WEBHOOK}
- CLAUDE_STOP_WEBHOOK_URL=${CLAUDE_STOP_WEBHOOK_URL}
- VAULT_ADDR=${VAULT_ADDR}
- VAULT_USER=${VAULT_USER}
- VAULT_PASS=${VAULT_PASS}
# Keep Claude Code's .claude.json inside the ~/.claude directory mount.
# A single-file bind mount of ~/.claude.json breaks on Docker Desktop/WSL2:
# the per-file mount shim pins the source inode at container-create time,
# and Claude Code replaces that inode on every atomic rewrite.
- CLAUDE_CONFIG_DIR=/home/coder/.claude
volumes:
- ${HOST_CODE_DIR:?HOST_CODE_DIR must be set to an absolute host path}:/home/coder/code
- ${HOST_CODE_DIR}:${HOST_CODE_DIR}
- ~/.lando:/home/coder/.lando
- code-server-extensions:/home/coder/.local/share/code-server/extensions
- ./config/settings.json:/home/coder/.local/share/code-server/User/settings.json
- ~/.ssh:/home/coder/.ssh
- npm-cache:/home/coder/.npm
- ${CLAUDE_CONFIG_DIR:-~/.claude}:/home/coder/.claude
- ./claude-config:/home/coder/claude-config
- ./src:/home/coder/src
- /var/run/docker.sock:/var/run/docker.sock
- ~/.acquia:/home/coder/.acquia:ro
restart: unless-stopped
volumes:
code-server-extensions:
npm-cache: