devcontainer.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "Torqvoice",
  3. "dockerComposeFile": "docker-compose.yml",
  4. "service": "app",
  5. "workspaceFolder": "/workspace",
  6. "forwardPorts": [
  7. 3000,
  8. 5432,
  9. 8080
  10. ],
  11. "features": {
  12. "ghcr.io/devcontainers/features/node:1": {
  13. "version": "20"
  14. },
  15. "ghcr.io/devcontainers/features/git:1": {},
  16. "ghcr.io/devcontainers/features/github-cli:1": {}
  17. },
  18. "mounts": [
  19. "source=${localEnv:HOME}/.ssh,target=/tmp/host-ssh,type=bind,readonly"
  20. ],
  21. "postCreateCommand": "git config --global --add safe.directory /workspace && bash .devcontainer/setup-ssh.sh",
  22. "remoteEnv": {
  23. "SSH_AUTH_SOCK": "/tmp/ssh-agent-vscode.sock"
  24. },
  25. "customizations": {
  26. "vscode": {
  27. "extensions": [
  28. "bradlc.vscode-tailwindcss",
  29. "biomejs.biome",
  30. "ms-vscode.vscode-typescript-next",
  31. "Prisma.prisma",
  32. "ms-vscode.vscode-json",
  33. "formulahendry.auto-rename-tag",
  34. "christian-kohler.path-intellisense",
  35. "GitHub.copilot",
  36. "GitHub.copilot-chat",
  37. "GitHub.copilot-labs",
  38. "bruceyuhb.hsl-preview"
  39. ],
  40. "settings": {
  41. "editor.formatOnSave": true,
  42. "editor.codeActionsOnSave": {
  43. "quickfix.biome": "explicit",
  44. "source.organizeImports.biome": "explicit"
  45. }
  46. }
  47. }
  48. },
  49. "remoteUser": "node"
  50. }