Skip to content

Commit 5181b84

Browse files
committed
chore: Add devcontainer config for GitHub Codespaces
1 parent f0e93f4 commit 5181b84

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "AI Governance Hub",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
4+
"features": {
5+
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
6+
"ghcr.io/devcontainers/features/node:1": {
7+
"version": "20"
8+
},
9+
"ghcr.io/devcontainers/features/python:1": {
10+
"version": "3.11"
11+
}
12+
},
13+
"forwardPorts": [3000, 8000, 5432],
14+
"portsAttributes": {
15+
"3000": {
16+
"label": "Frontend",
17+
"onAutoForward": "notify"
18+
},
19+
"8000": {
20+
"label": "Backend API",
21+
"onAutoForward": "notify"
22+
},
23+
"5432": {
24+
"label": "PostgreSQL",
25+
"onAutoForward": "silent"
26+
}
27+
},
28+
"postCreateCommand": "cd AIGovHub && cp .env.example .env",
29+
"customizations": {
30+
"vscode": {
31+
"extensions": [
32+
"ms-python.python",
33+
"ms-python.vscode-pylance",
34+
"dbaeumer.vscode-eslint",
35+
"esbenp.prettier-vscode",
36+
"bradlc.vscode-tailwindcss"
37+
]
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)