Update dev container configuration for monorepo

This commit is contained in:
Oliver Traber 2025-03-13 21:47:18 +00:00
parent 938582155d
commit 60542935c8
Signed by: Bluemedia
GPG key ID: C0674B105057136C
6 changed files with 59 additions and 2 deletions

View file

@ -5,7 +5,7 @@
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspace",
"workspaceFolder": "/simple-ocpp-cs",
"shutdownAction": "stopCompose",
// Use 'forwardPorts' to make a list of ports inside the container available locally.

View file

@ -2,7 +2,7 @@ services:
app:
image: mcr.microsoft.com/devcontainers/python:3.12-bookworm
volumes:
- ..:/workspace:cached
- ../..:/simple-ocpp-cs:cached
command: sleep infinity
db:

View file

@ -0,0 +1,27 @@
// 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": "Node.js",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/simple-ocpp-cs",
"shutdownAction": "stopCompose",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
5173
],
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"Lokalise.i18n-ally",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"eamodio.gitlens"
]
}
}
}

View file

@ -0,0 +1,6 @@
services:
app:
image: mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm
volumes:
- ../..:/simple-ocpp-cs:cached
command: sleep infinity

View file

@ -0,0 +1,12 @@
{
"folders": [
{
"name": "Backend",
"path": "../backend"
},
{
"name": "Root",
"path": "../"
}
]
}

View file

@ -0,0 +1,12 @@
{
"folders": [
{
"name": "Frontend",
"path": "../frontend"
},
{
"name": "Root",
"path": "../"
}
]
}