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.

26 lines
924 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. ],
  14. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  15. // This can be used to network with other containers or the host.
  16. "forwardPorts": [3000, 4000],
  17. // Use 'postCreateCommand' to run commands after the container is created.
  18. "postCreateCommand": "bundle install --path vendor/bundle && yarn install && ./bin/rails db:setup",
  19. // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
  20. "remoteUser": "vscode"
  21. }