-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcompose-alpine-python.yaml
More file actions
27 lines (26 loc) · 914 Bytes
/
compose-alpine-python.yaml
File metadata and controls
27 lines (26 loc) · 914 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
services:
alpine-python:
container_name: claude-sdk-alpine-python
build:
context: .
dockerfile: Dockerfile.alpine-python
image: ghcr.io/${GITHUB_ORG:-cabinlab}/${GITHUB_REPO:-claude-code-sdk-docker}:alpine-python
ports:
- "${PORT:-3000}:${PORT:-3000}"
environment:
# Claude Code OAuth Token (set this in .env or export before running)
- CLAUDE_CODE_OAUTH_TOKEN=${CLAUDE_CODE_OAUTH_TOKEN:-}
# Anthropic API Key (for direct API access)
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
# Legacy session token (fallback)
- CLAUDE_CODE_SESSION=${CLAUDE_CODE_SESSION:-}
# Port configuration
- PORT=${PORT:-3000}
volumes:
# Mount current directory for development
- .:/app
# Docker volume for persistent Claude CLI authentication
- claude-auth:/home/claude/.claude
working_dir: /app
volumes:
claude-auth: