-
Notifications
You must be signed in to change notification settings - Fork 0
/
.devcontainer.json
32 lines (32 loc) · 933 Bytes
/
.devcontainer.json
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
{
"name": "openairs",
"image": "mcr.microsoft.com/devcontainers/typescript-node:20",
"customizations": {
"vscode": {
"extensions": [
"eamodio.gitlens",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"firsttris.vscode-jest-runner"
],
"settings": {
"typescript.tsdk": "app/node_modules/typescript/lib",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
}
},
"containerEnv": {
"NODE_ENV": "development",
"OPENAI_ORG_ID": "${localEnv:OPENAI_ORG_ID}",
"OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
"MONGODB_USERNAME": "${localEnv:MONGODB_USERNAME}",
"MONGODB_PASSWORD": "${localEnv:MONGODB_PASSWORD}",
"MONGODB_HOST": "${localEnv:MONGODB_HOST}"
},
"postCreateCommand": "npm ci",
"remoteUser": "node",
"features": {
"ghcr.io/devcontainers/features/git:1": {}
}
}