mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 13:39:44 +02:00
26 lines
860 B
JSON
26 lines
860 B
JSON
{
|
|
"name": "n8n (Codespaces agent sessions)",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "n8n",
|
|
"workspaceFolder": "/workspaces",
|
|
"hostRequirements": {
|
|
"cpus": 8,
|
|
"memory": "32gb",
|
|
"storage": "64gb"
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/github-cli:1": {}
|
|
},
|
|
"forwardPorts": [8080, 5678],
|
|
// Runs in prebuilds, so a fresh codespace starts with deps installed and the build warm
|
|
"onCreateCommand": "corepack install && pnpm install && (pnpm build > /tmp/build.log 2>&1 || tail -n 50 /tmp/build.log) && pnpm --filter=n8n-playwright exec playwright install chromium",
|
|
"secrets": {
|
|
"ANTHROPIC_API_KEY": {
|
|
"description": "Anthropic API key for Claude Code / OpenCode sessions"
|
|
},
|
|
"CLAUDE_CODE_OAUTH_TOKEN": {
|
|
"description": "Alternative to an API key: token from `claude setup-token` (Max subscription)"
|
|
}
|
|
}
|
|
}
|