-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine | ||
{ | ||
"name": "NodeJS", | ||
"image": "ghcr.io/podkrepi-bg/nodejs-devcontainer:v1.2.0", | ||
"forwardPorts": [], // Forward ports | ||
"containerEnv": { | ||
"DATABASE_URL": "postgres://postgres:[email protected]:5432/postgres?schema=api" // Custom env vars | ||
}, | ||
"postStartCommand": "yarn", // Install dependencies | ||
"customizations":{ | ||
"vscode": { | ||
"extensions": [ | ||
"ms-azuretools.vscode-docker", | ||
"nrwl.angular-console", | ||
"esbenp.prettier-vscode", | ||
"firsttris.vscode-jest-runner", | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} | ||
}, | ||
"mounts": [ | ||
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" | ||
] | ||
} | ||
"name": "NodeJS", | ||
"image": "ghcr.io/podkrepi-bg/nodejs-devcontainer:v1.2.0", | ||
"forwardPorts": [], // Forward ports | ||
"containerEnv": { | ||
"DATABASE_URL": "postgres://postgres:[email protected]:5432/postgres?schema=api" // Custom env vars | ||
}, | ||
"postStartCommand": "yarn", // Install dependencies | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-azuretools.vscode-docker", | ||
"nrwl.angular-console", | ||
"esbenp.prettier-vscode", | ||
"firsttris.vscode-jest-runner", | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} | ||
}, | ||
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"] | ||
} |