You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
951 B

  1. {
  2. "name": "Mastodon",
  3. "dockerComposeFile": "docker-compose.yml",
  4. "service": "app",
  5. "workspaceFolder": "/workspaces/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. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  16. // This can be used to network with other containers or the host.
  17. "forwardPorts": [3000, 4000],
  18. // Use 'postCreateCommand' to run commands after the container is created.
  19. "postCreateCommand": "bundle install --path vendor/bundle && yarn install && ./bin/rails db:setup",
  20. // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
  21. "remoteUser": "vscode"
  22. }