devcontainer.json 994 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "name": "Mastodon",
  3. "dockerComposeFile": "docker-compose.yml",
  4. "service": "app",
  5. "workspaceFolder": "/mastodon",
  6. // Set *default* container specific settings.json values on container create.
  7. "settings": {},
  8. // Add the IDs of extensions you want installed when the container is created.
  9. "extensions": [
  10. "EditorConfig.EditorConfig",
  11. "dbaeumer.vscode-eslint",
  12. "rebornix.Ruby",
  13. "webben.browserslist"
  14. ],
  15. "features": {
  16. "ghcr.io/devcontainers/features/sshd:1": {
  17. "version": "latest"
  18. }
  19. },
  20. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  21. // This can be used to network with other containers or the host.
  22. "forwardPorts": [3000, 4000],
  23. // Use 'postCreateCommand' to run commands after the container is created.
  24. "postCreateCommand": ".devcontainer/post-create.sh",
  25. // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
  26. "remoteUser": "vscode"
  27. }