|
| 1 | +{ |
| 2 | + "name": "Stack Auth Development", |
| 3 | + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", |
| 4 | + "features": { |
| 5 | + "ghcr.io/devcontainers/features/node:1": { |
| 6 | + "version": "22" |
| 7 | + }, |
| 8 | + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, |
| 9 | + "ghcr.io/devcontainers-contrib/features/pnpm:2": { |
| 10 | + "version": "9" |
| 11 | + }, |
| 12 | + "ghcr.io/devcontainers/features/git:1": {} |
| 13 | + }, |
| 14 | + "hostRequirements": { |
| 15 | + "cpus": 2, |
| 16 | + "memory": "16gb" |
| 17 | + }, |
| 18 | + "forwardPorts": [ |
| 19 | + 5432, // PostgreSQL |
| 20 | + 2500, // Inbucket SMTP |
| 21 | + 1100, // Inbucket POP3 |
| 22 | + 4318, // OTel collector |
| 23 | + 8100, 8101, 8102, 8103, 8104, 8105, 8106, 8107, 8108, 8109, |
| 24 | + 8110, 8111, 8112, 8113, 8114, 8115, 8116, 8117, 8118, 8119, |
| 25 | + 8120, 8121, 8122, 8123, 8124, 8125, 8126, 8127, 8128, 8129, |
| 26 | + 8130, 8131, 8132, 8133, 8134, 8135, 8136, 8137, 8138, 8139, |
| 27 | + 8140, 8141, 8142, 8143, 8144, 8145, 8146, 8147, 8148, 8149, |
| 28 | + 8150, 8151, 8152, 8153, 8154, 8155, 8156, 8157, 8158, 8159, |
| 29 | + 8160, 8161, 8162, 8163, 8164, 8165, 8166, 8167, 8168, 8169, |
| 30 | + 8170, 8171, 8172, 8173, 8174, 8175, 8176, 8177, 8178, 8179, |
| 31 | + 8180, 8181, 8182, 8183, 8184, 8185, 8186, 8187, 8188, 8189, |
| 32 | + 8190, 8191, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199 |
| 33 | + ], |
| 34 | + "postCreateCommand": "pnpm install && pnpm build:packages && pnpm codegen && pnpm run start-deps && pnpm run stop-deps", |
| 35 | + "postStartCommand": "pnpm install && clear && echo 'To start the development server with dependencies, run: pnpm restart-deps && pnpm dev' && echo 'To run the tests, run: pnpm test [<path-filter>]'", |
| 36 | + "customizations": { |
| 37 | + "vscode": { |
| 38 | + "extensions": [ |
| 39 | + "dbaeumer.vscode-eslint", |
| 40 | + "streetsidesoftware.code-spell-checker", |
| 41 | + "YoavBls.pretty-ts-errors", |
| 42 | + "mxsdev.typescript-explorer", |
| 43 | + "github.vscode-github-actions", |
| 44 | + "fabiospampinato.vscode-highlight", |
| 45 | + "Prisma.prisma" |
| 46 | + ] |
| 47 | + } |
| 48 | + }, |
| 49 | + "remoteUser": "vscode" |
| 50 | +} |
0 commit comments