devcontainer.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // For format details, see https://aka.ms/devcontainer.json. For config options, see the
  2. // README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
  3. {
  4. "name": "GROWI-Dev",
  5. "dockerComposeFile": ["../compose.yml", "../compose.extend.yml"],
  6. "service": "app",
  7. "workspaceFolder": "/workspace/growi",
  8. "features": {
  9. "ghcr.io/devcontainers/features/node:1": {
  10. "version": "20.18.3"
  11. }
  12. },
  13. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  14. // "forwardPorts": [],
  15. "initializeCommand": "/bin/bash .devcontainer/pdf-converter/initializeCommand.sh",
  16. // Use 'postCreateCommand' to run commands after the container is created.
  17. "postCreateCommand": "/bin/bash ./.devcontainer/app/postCreateCommand.sh",
  18. // Configure tool-specific properties.
  19. "customizations": {
  20. "vscode": {
  21. "extensions": [
  22. // AI
  23. "anthropic.claude-code",
  24. // linter
  25. "biomejs.biome",
  26. "editorconfig.editorconfig",
  27. "shinnn.stylelint",
  28. "stylelint.vscode-stylelint",
  29. // markdown
  30. "bierner.markdown-mermaid",
  31. // TypeScript (Native Preview)
  32. "typescriptteam.native-preview",
  33. // Test
  34. "vitest.explorer",
  35. "ms-playwright.playwright",
  36. // git/github
  37. "codeinklingon.git-worktree-menu",
  38. "github.vscode-pull-request-github",
  39. "mhutchie.git-graph",
  40. "eamodio.gitlens",
  41. "cschleiden.vscode-github-actions",
  42. // DB
  43. "cweijan.vscode-database-client2",
  44. "mongodb.mongodb-vscode",
  45. // Debug
  46. "msjsdiag.debugger-for-chrome",
  47. "firefox-devtools.vscode-firefox-debug"
  48. ],
  49. "settings": {
  50. "terminal.integrated.defaultProfile.linux": "bash"
  51. }
  52. },
  53. },
  54. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  55. // "remoteUser": "root"
  56. }