-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
75 lines (75 loc) · 2.37 KB
/
Copy pathdevcontainer.json
File metadata and controls
75 lines (75 loc) · 2.37 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
{
"name": "OpenCode ECC + OpenChamber + Tailscale",
"dockerComposeFile": "docker-compose.yml",
"service": "opencode-dev",
"workspaceFolder": "/workspace",
"shutdownAction": "stopCompose",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true,
"upgradePackages": false,
"username": "vscode",
"userUid": "automatic",
"userGid": "automatic"
},
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"version": "22",
"nvmVersion": "latest"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest",
"enableNonRootDocker": "true"
},
"ghcr.io/devcontainers/features/git:1": {
"ppa": false,
"version": "latest"
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.vscode-typescript-next",
"ms-vscode.vscode-json",
"ms-python.python",
"ms-python.debugpy",
"github.copilot",
"github.copilot-chat",
"github.vscode-github-actions",
"ms-vscode-remote.remote-containers",
"redhat.vscode-yaml",
"ms-vscode.makefile-tools"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"python.defaultInterpreterPath": "/usr/local/python/current/bin/python"
}
}
},
"forwardPorts": [
3000,
4095
],
"portsAttributes": {
"3000": {
"label": "OpenChamber Web UI",
"protocol": "http"
},
"4095": {
"label": "OpenCode CLI Server",
"protocol": "http"
}
},
"postCreateCommand": ".devcontainer/setup.sh",
"postStartCommand": ".devcontainer/startup.sh",
"postAttachCommand": {
"welcome": "echo '🚀 OpenCode ECC DevContainer へようこそ!' && echo '' && echo '📋 次のステップ:' && echo ' 1️⃣ .env.template を .env にコピー' && echo ' 2️⃣ 必要に応じて ./.devcontainer/interactive-setup.sh でTailscale設定' && echo '' && echo '🎨 サービスURL:' && echo ' 📍 OpenChamber: http://localhost:3000' && echo ' 🤖 OpenCode CLI: http://localhost:4095'"
},
"remoteUser": "vscode",
"mounts": [
"source=opencode-data,target=/home/vscode/.opencode,type=volume",
"source=tailscale-state,target=/var/lib/tailscale,type=volume"
]
}