devcontainer.json 970 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "name": "Goldair Climate dev",
  3. "image": "ludeeus/container:integration",
  4. "context": "..",
  5. "appPort": ["8123:8123"],
  6. "postCreateCommand": "dc install",
  7. "runArgs": ["-e", "GIT_EDITOR=code --wait"],
  8. "extensions": [
  9. "ms-python.python",
  10. "visualstudioexptteam.vscodeintellicode",
  11. "redhat.vscode-yaml",
  12. "esbenp.prettier-vscode"
  13. ],
  14. "settings": {
  15. "files.eol": "\n",
  16. "python.pythonPath": "/usr/local/bin/python",
  17. "python.linting.pylintEnabled": true,
  18. "python.linting.enabled": true,
  19. "python.formatting.provider": "black",
  20. "editor.formatOnPaste": false,
  21. "editor.formatOnSave": true,
  22. "editor.formatOnType": true,
  23. "files.trimTrailingWhitespace": true,
  24. "terminal.integrated.shell.linux": "/bin/bash"
  25. },
  26. "mounts": [
  27. "source=${env:HOME}${env:USERPROFILE}/.ssh,target=/tmp/.ssh,type=bind,consistency=cached",
  28. "source=${localWorkspaceFolder}/config,target=/config,type=bind,consistency=cached"
  29. ]
  30. }