-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
91 lines (80 loc) · 3.64 KB
/
Copy pathdocker-compose.example.yml
File metadata and controls
91 lines (80 loc) · 3.64 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
services:
agent-code-server:
image: ghcr.io/silverknightkma/agent-code-server:latest
container_name: agent-code-server
init: true
mem_limit: 4g
ports:
- "8080:8080"
- "6767:6767"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
DOCKER_USER: "${USER:-coder}"
AGENT_CODE_SERVER_CONFIG_SOURCE: auto
AGENT_CODE_SERVER_CONFIG_CACHE_DIR: /home/coder/.local/state/agent-code-server/config
NPM_CONFIG_CACHE: /home/coder/.npm
AGENT_CODE_SERVER_TMPDIR: /home/coder/.local/state/agent-code-server/tmp
# AGENT_CODE_SERVER_AUTOINSTALL: "true" # install managed tools and required Paseo skills on startup
# UI_PASSWORD: change-me
# ENABLE_DIND: "true" — requires privileged & /var/lib/docker volume
# With ENABLE_DIND=true a dnsmasq forwarder is auto-started so
# containers spawned by the nested daemon resolve outer container
# names (siblings on the host network) and the host's search-domain
# names. Set DIND_DNS=false to disable.
# Paseo (agent orchestration daemon + web UI, baked in alongside code-server)
# PASEO_PASSWORD: change-me
# PASEO_HOSTNAMES: paseo.example.com
# ANTHROPIC_API_KEY: change-me
# OPENAI_API_KEY: change-me
restart: unless-stopped
volumes:
# Workspace
- ./data/workspaces:/home/coder/workspaces
# Auth & identity
- ./data/ssh:/home/coder/.ssh
- ./data/config/git:/home/coder/.config/git
- ./data/config/gh:/home/coder/.config/gh
# Dedicated code-server state
- ./data/config/code-server:/home/coder/.config/code-server
- ./data/code-server-data:/home/coder/.local/share/code-server
- ./data/code-server-cache:/home/coder/.cache/code-server
# Managed / custom mounted tools
- ./data/npm-global:/home/coder/.npm-global
- ./data/bun:/home/coder/.bun
- ./data/local-bin:/home/coder/.local/bin
- ./data/local-go:/home/coder/.local/go
- ./data/local-pip:/home/coder/.local/pip
- ./data/cargo:/home/coder/.cargo
- ./data/rustup:/home/coder/.rustup
- ./data/go:/home/coder/.go
# Managed runtime state
- ./data/agent-code-server-cache:/home/coder/.local/state/agent-code-server
# Paseo daemon state + agent credentials
# Each agent CLI keeps its own config/credentials dir; check upstream
# source before assuming a new agent follows one of these conventions.
- ./data/paseo:/home/coder/.paseo
- ./data/config/claude:/home/coder/.claude
- ./data/config/codex:/home/coder/.codex
- ./data/pi:/home/coder/.pi
- ./data/omp:/home/coder/.omp
- ./data/factory:/home/coder/.factory
- ./data/opencode:/home/coder/.local/share/opencode
- ./data/config/opencode:/home/coder/.config/opencode
# Optional tmux persistence (uncomment when AGENT_CODE_SERVER_TMUX_PERSIST=true)
# - ./data/tmux-state:/home/coder/.local/state/tmux
# Optional startup scripts
# - ./data/entrypoint.d:/home/coder/entrypoint.d
# Optional Docker-in-Docker state (uncomment with ENABLE_DIND=true)
# - ./data/docker:/var/lib/docker
# - ./data/containerd:/var/lib/containerd
#
# Optional DinD daemon config (CIDR collision avoidance):
# mount a custom daemon.json to change the DinD bridge CIDR (bip) and
# default-address-pools. The entrypoint merges its "dns" key in, so
# both coexist:
# - ./dockerd-daemon.example.json:/etc/docker/daemon.json:ro
# Optional Docker-in-Docker (uncomment with ENABLE_DIND=true)
# privileged: true
# security_opt:
# - no-new-privileges:false