devcontainer.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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": "22.17.0"
  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. "dbaeumer.vscode-eslint",
  26. "biomejs.biome",
  27. "editorconfig.editorconfig",
  28. "shinnn.stylelint",
  29. "stylelint.vscode-stylelint",
  30. // Test
  31. "vitest.explorer",
  32. "ms-playwright.playwright",
  33. // git/github
  34. "codeinklingon.git-worktree-menu",
  35. "github.vscode-pull-request-github",
  36. "mhutchie.git-graph",
  37. "eamodio.gitlens",
  38. "cschleiden.vscode-github-actions",
  39. // DB
  40. "cweijan.vscode-database-client2",
  41. "mongodb.mongodb-vscode",
  42. // Debug
  43. "msjsdiag.debugger-for-chrome",
  44. "firefox-devtools.vscode-firefox-debug"
  45. ],
  46. "settings": {
  47. "terminal.integrated.defaultProfile.linux": "bash"
  48. }
  49. },
  50. },
  51. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  52. // "remoteUser": "root"
  53. }