{ "$schema": "https://raw.githubusercontent.com/devcontainers/spec/refs/heads/main/schemas/devContainer.schema.json", "name": "Zitadel Devcontainer", "dockerComposeFile": "docker-compose.yaml", "service": "devcontainer", "runServices": [ "devcontainer" ], "workspaceFolder": "/workspaces/zitadel", "forwardPorts": [ 3000, 4200, 8080, 3100 ], "portsAttributes": { "3000": { "label": "Login", "onAutoForward": "notify" }, "4200": { "label": "Console", "onAutoForward": "notify" }, "8080": { "label": "API", "onAutoForward": "notify" }, "3100": { "label": "Docs", "onAutoForward": "notify" } }, "features": { "ghcr.io/devcontainers/features/go:1": { "version": "1.25" }, "ghcr.io/devcontainers/features/docker-outside-of-docker": {}, "ghcr.io/schlich/devcontainer-features/cypress:1": { "version": "14" } }, "containerEnv": { "DEVCONTAINER_LOCAL_WORKSPACE_ROOT": "${localWorkspaceFolder}" }, "remoteEnv": { "PATH": "${containerEnv:PATH}:/workspaces/zitadel/.artifacts/bin/linux/amd64" }, "postStartCommand": "npm install -g nx@21.6.9 && echo 'export PATH=\"${PWD}/.artifacts/bin/$(go env GOOS)/$(go env GOARCH):$PATH\"' >> ~/.bashrc", "customizations": { "vscode": { "extensions": [ "golang.Go", "Angular.ng-template", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "nrwl.angular-console" ] } } }