mirror of
https://github.com/actions/attest-build-provenance.git
synced 2025-12-16 20:30:59 +00:00
Create devcontainer.json
Signed-off-by: BoomchainLabs <cashapppaymentpay01@gmail.com>
This commit is contained in:
parent
b7ab74091b
commit
d8557e4a03
50
.devcontainer/devcontainer.json
Normal file
50
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"name": "Boomchain Dev Container",
|
||||||
|
"image": "mcr.microsoft.com/devcontainers/universal:2",
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/node:1": {
|
||||||
|
"version": "20"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers/features/git:1": {},
|
||||||
|
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
|
||||||
|
"ghcr.io/devcontainers/features/postgres:1": {
|
||||||
|
"version": "15",
|
||||||
|
"database": "boomdb",
|
||||||
|
"user": "boomuser",
|
||||||
|
"password": "boompassword"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers/features/mongodb:1": {
|
||||||
|
"version": "6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"settings": {
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"eslint.format.enable": true,
|
||||||
|
"typescript.tsdk": "node_modules/typescript/lib"
|
||||||
|
},
|
||||||
|
"extensions": [
|
||||||
|
"dbaeumer.vscode-eslint",
|
||||||
|
"esbenp.prettier-vscode",
|
||||||
|
"ms-azuretools.vscode-docker",
|
||||||
|
"github.vscode-github-actions",
|
||||||
|
"streetsidesoftware.code-spell-checker",
|
||||||
|
"ms-python.python",
|
||||||
|
"prisma.prisma",
|
||||||
|
"mongodb.mongodb-vscode"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"remoteUser": "vscode",
|
||||||
|
"mounts": [
|
||||||
|
{
|
||||||
|
"source": "/var/run/docker.sock",
|
||||||
|
"target": "/var/run/docker.sock",
|
||||||
|
"type": "bind"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"postCreateCommand": "npm install && npm run build",
|
||||||
|
"forwardPorts": [3000, 4000, 5432, 27017],
|
||||||
|
"shutdownAction": "stopContainer"
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user