devcontainer.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. "github.vscode-pull-request-github",
  35. "mhutchie.git-graph",
  36. "eamodio.gitlens",
  37. "cschleiden.vscode-github-actions",
  38. // DB
  39. "cweijan.vscode-database-client2",
  40. "mongodb.mongodb-vscode",
  41. // Debug
  42. "msjsdiag.debugger-for-chrome",
  43. "firefox-devtools.vscode-firefox-debug"
  44. ],
  45. "settings": {
  46. "terminal.integrated.defaultProfile.linux": "bash"
  47. }
  48. },
  49. },
  50. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  51. // "remoteUser": "root"
  52. }