-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
68 lines (68 loc) · 2.07 KB
/
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
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
{
"name": "Depictio devcontainer",
// "dockerComposeFile": [
// "../docker-compose.yml"
// ],
"image": "mcr.microsoft.com/devcontainers/python:1-3.11",
// "service": "depictio_frontend",
"workspaceFolder": "/workspaces/depictio",
"customizations": {
"vscode": {
"settings": {
"editor.tabSize": 2,
"git.detectSubmodules": false,
"terminal.integrated.defaultProfile.linux": "zsh",
"workbench.editor.wrapTabs": true
},
"extensions": [
"ms-python.python",
"ms-azuretools.vscode-docker",
"ms-python.anaconda-extension-pack",
"GitHub.copilot",
"charliermarsh.ruff",
"mongodb.mongodb-vscode"
]
}
},
"postCreateCommand": "./setup_codespaces.sh",
// "forwardPorts": [
// 27018,
// 5080,
// 8058,
// 9000,
// 9001
// ],
// "portsAttributes": {
// "27018": {
// "label": "mongo"
// },
// "5080": {
// "label": "depictio_frontend"
// },
// "8058": {
// "label": "depictio_backend"
// },
// "9000-9001": {
// "label": "minio"
// }
// },
"remoteEnv": {
"MINIO_ROOT_USER": "${localEnv:MINIO_ROOT_USER}",
"MINIO_ROOT_PASSWORD": "${localEnv:MINIO_ROOT_PASSWORD}",
"MINIO_ACCESS_KEY": "${localEnv:MINIO_ACCESS_KEY}",
"MINIO_SECRET_KEY": "${localEnv:MINIO_SECRET_KEY}",
"DEPICTIO_BACKEND_DATA_VOLUME_HOST": "/workspace/depictio-data",
"AUTH_PRIVATE_KEY": "${localEnv:AUTH_PRIVATE_KEY}",
"AUTH_PUBLIC_KEY": "${localEnv:AUTH_PUBLIC_KEY}"
},
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"installGit": "true",
"installDocker": "true"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest"
}
}
}