devcontainer.json 806 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // For format details, see https://aka.ms/devcontainer.json
  2. {
  3. "name": "FreshRSS-dev-Alpine",
  4. "build": {
  5. "dockerfile": "Dockerfile"
  6. },
  7. "extensions": [
  8. "bmewburn.vscode-intelephense-client",
  9. "DavidAnson.vscode-markdownlint",
  10. "dbaeumer.vscode-eslint",
  11. "eamodio.gitlens",
  12. "EditorConfig.EditorConfig",
  13. "foxundermoon.shell-format",
  14. "mrmlnc.vscode-apache",
  15. "redhat.vscode-yaml",
  16. "timonwong.shellcheck",
  17. "ValeryanM.vscode-phpsab"
  18. ],
  19. "forwardPorts": [
  20. 8080
  21. ],
  22. "portsAttributes": {
  23. "8080": {
  24. "label": "FreshRSS Apache",
  25. "onAutoForward": "notify"
  26. }
  27. },
  28. "mounts": [
  29. {
  30. "source": "vscode-freshrss-data",
  31. "target": "/home/developer/freshrss-data",
  32. "type": "volume"
  33. }
  34. ],
  35. "remoteUser": "developer",
  36. "postCreateCommand": "sudo .devcontainer/postCreateCommand.sh"
  37. }