Initial commit
This commit is contained in:
43
.devcontainer/devcontainer.json
Normal file
43
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainerSchema.json",
|
||||
"name": "dwellops-platform",
|
||||
"dockerComposeFile": ["../docker-compose.yml", "docker-compose.devcontainer.yml"],
|
||||
"service": "devcontainer",
|
||||
"workspaceFolder": "/workspaces/dwellops-platform",
|
||||
"shutdownAction": "stopCompose",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/node:1": {
|
||||
"version": "24"
|
||||
},
|
||||
"ghcr.io/devcontainers/features/github-cli:1": {}
|
||||
},
|
||||
"onCreateCommand": "npm install -g pnpm@10 && pnpm install",
|
||||
"postCreateCommand": "pnpm db:generate",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"esbenp.prettier-vscode",
|
||||
"prisma.prisma",
|
||||
"bradlc.vscode-tailwindcss",
|
||||
"stylelint.vscode-stylelint",
|
||||
"ms-azuretools.vscode-docker"
|
||||
],
|
||||
"settings": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit"
|
||||
},
|
||||
"typescript.tsdk": "node_modules/typescript/lib"
|
||||
}
|
||||
}
|
||||
},
|
||||
"forwardPorts": [3000, 3001, 5432, 1025, 8025],
|
||||
"portsAttributes": {
|
||||
"3000": { "label": "Web (Next.js)" },
|
||||
"3001": { "label": "API (Fastify)" },
|
||||
"5432": { "label": "PostgreSQL" },
|
||||
"8025": { "label": "Mailpit UI" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user