forked from CMU-313/cmu-313-s26-nodebb-spring-26-NodeBB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
40 lines (38 loc) · 1.16 KB
/
devcontainer.json
File metadata and controls
40 lines (38 loc) · 1.16 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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "NodeBB",
"build": {
"dockerfile": "Dockerfile"
},
"postCreateCommand": "redis-server --daemonize yes",
"postStartCommand": "redis-server --daemonize yes || true",
"forwardPorts": [4567],
"portsAttributes": {
"4567": {
"label": "NodeBB"
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.live-server",
"redis.redis-for-vscode",
"GitHub.copilot",
"GitHub.copilot-chat",
"Copilot-Archiver.copilot-archiver"
]
}
},
"containerEnv": {
"NODEBB_PORT": "4567",
"NODEBB_DB": "redis",
"NODEBB_REDIS_HOST": "172.17.0.1",
"NODEBB_REDIS_PORT": "6379",
"NODEBB_REDIS_PASSWORD": "",
"NODEBB_REDIS_DB": "0",
"NODEBB_ADMIN_USERNAME": "admin",
"NODEBB_ADMIN_PASSWORD": "password123!",
"NODEBB_ADMIN_EMAIL": "admin@admin.admin"
}
}