devcontainer.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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/git:1": {},
  13. "ghcr.io/devcontainers/features/github-cli:1": {}
  14. },
  15. "mounts": [
  16. "source=${localEnv:HOME}/.ssh,target=/tmp/host-ssh,type=bind,readonly"
  17. ],
  18. "postCreateCommand": "git config --global --add safe.directory /workspace && bash .devcontainer/setup-ssh.sh",
  19. "remoteEnv": {
  20. "SSH_AUTH_SOCK": "/tmp/ssh-agent-vscode.sock"
  21. },
  22. "customizations": {
  23. "vscode": {
  24. "extensions": [
  25. "bradlc.vscode-tailwindcss",
  26. "biomejs.biome",
  27. "ms-vscode.vscode-typescript-next",
  28. "Prisma.prisma",
  29. "ms-vscode.vscode-json",
  30. "formulahendry.auto-rename-tag",
  31. "christian-kohler.path-intellisense",
  32. "GitHub.copilot",
  33. "GitHub.copilot-chat",
  34. "GitHub.copilot-labs",
  35. "bruceyuhb.hsl-preview"
  36. ],
  37. "settings": {
  38. "editor.formatOnSave": true,
  39. "editor.codeActionsOnSave": {
  40. "quickfix.biome": "explicit",
  41. "source.organizeImports.biome": "explicit"
  42. }
  43. }
  44. }
  45. },
  46. "remoteUser": "node"
  47. }