-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
45 lines (42 loc) · 1.66 KB
/
docker-compose.dev.yml
File metadata and controls
45 lines (42 loc) · 1.66 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
# Development docker-compose configuration
# Use this for local development and testing
# Run with: docker compose -f docker-compose.dev.yml up
services:
barbossa:
build: .
platform: linux/amd64
container_name: barbossa-dev
restart: "no" # Don't auto-restart in dev
# Run as host UID with GID=1000 for /app access
# On Linux: runs as 1000:1000 (default)
# On macOS: runs as host UID (e.g., 501) with GID 1000
# This allows writing to /app (group-writable)
user: "${UID:-1000}:1000"
volumes:
# Mount source code for development
- ./src:/app/src
- ./prompts:/app/prompts
- ./config:/app/config
- ./scripts:/app/scripts
# Persist logs and output
- ./logs:/app/logs
- ./changelogs:/app/changelogs
- ./projects:/app/projects
# Git config for commits (only needed for user.name and user.email)
- ~/.gitconfig:/home/barbossa/.gitconfig:ro
environment:
- TZ=${TZ:-UTC}
# GitHub authentication (REQUIRED)
# Generate: gh auth token OR create personal access token at https://github.com/settings/tokens
- GITHUB_TOKEN=${GITHUB_TOKEN}
# Claude authentication (REQUIRED - use ONE of the following)
# Option 1 (Recommended): Claude Pro/Max OAuth token
# Generate: claude setup-token
- CLAUDE_CODE_OAUTH_TOKEN=${CLAUDE_CODE_OAUTH_TOKEN:-}
# Option 2: Pay-as-you-go API key
# Generate: https://console.anthropic.com/settings/keys
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
# Disable analytics in dev
- BARBOSSA_ANALYTICS_OPT_OUT=true
# Override entrypoint for dev - don't start cron
command: tail -f /dev/null