devcontainer.json 1.8 KB

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