-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (28 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
28 lines (28 loc) · 1.06 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
services:
cloudcli:
# Default to local build. Swap for `image: ghcr.io/inkarnation/cloudcli-docker:latest`.
build:
context: .
args:
PUID: ${PUID:-1000}
PGID: ${PGID:-1000}
image: cloudcli-docker:dev
container_name: cloudcli
restart: unless-stopped
ports:
- "${CLOUDCLI_BIND:-127.0.0.1}:${CLOUDCLI_PORT:-3001}:3001"
environment:
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
TZ: ${TZ:-UTC}
# PUID/PGID are also read at runtime by the entrypoint and used to
# remap the in-container `claude` user — set them to your host's
# `id -u` / `id -g` to keep bind-mounted volumes writable.
PUID: ${PUID:-1000}
PGID: ${PGID:-1000}
volumes:
# Single mount captures everything the container persists:
# workspaces/ project trees
# .claude/ Claude Code sessions, plugins, MCP, skills, creds
# .claude.json global Claude config / MCP server registry
# .cloudcli/ CloudCLI's SQLite DB (users, projects, UI prefs)
- ./data:/home/claude