devcontainer.json 768 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "Saleor",
  3. "dockerComposeFile": "docker-compose.yml",
  4. "service": "saleor",
  5. "workspaceFolder": "/app",
  6. "forwardPorts": [
  7. 8000,
  8. "dashboard:9000",
  9. "mailpit:8025"
  10. ],
  11. "portsAttributes": {
  12. "8000": {
  13. "label": "Saleor Core"
  14. },
  15. "dashboard:9000": {
  16. "label": "Saleor Dashboard"
  17. },
  18. "mailpit:8025": {
  19. "label": "Mailpit UI"
  20. }
  21. },
  22. "postCreateCommand": "python manage.py migrate",
  23. "customizations": {
  24. "vscode": {
  25. "extensions": [
  26. "Cameron.vscode-pytest",
  27. "charliermarsh.ruff",
  28. "editorconfig.editorconfig",
  29. "ms-python.black-formatter",
  30. "ms-python.flake8",
  31. "ms-python.isort",
  32. "ms-python.pylint",
  33. "ms-python.python",
  34. "ms-python.vscode-pylance",
  35. "streetsidesoftware.code-spell-checker"
  36. ]
  37. }
  38. }
  39. }