2022-03-13 16:03:36 +02:00
|
|
|
{
|
|
|
|
"name": "Mastodon",
|
|
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
|
|
"service": "app",
|
|
|
|
"workspaceFolder": "/workspaces/mastodon",
|
|
|
|
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
2022-03-21 05:46:11 +02:00
|
|
|
"settings": {},
|
2022-03-13 16:03:36 +02:00
|
|
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
2022-03-21 05:46:11 +02:00
|
|
|
"extensions": [
|
2022-03-13 16:03:36 +02:00
|
|
|
"EditorConfig.EditorConfig",
|
|
|
|
"dbaeumer.vscode-eslint",
|
2022-05-20 05:39:05 +03:00
|
|
|
"rebornix.Ruby",
|
|
|
|
"webben.browserslist"
|
2022-03-21 05:46:11 +02:00
|
|
|
],
|
2022-03-13 16:03:36 +02:00
|
|
|
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
2022-03-21 05:46:11 +02:00
|
|
|
// This can be used to network with other containers or the host.
|
|
|
|
"forwardPorts": [3000, 4000],
|
2022-03-13 16:03:36 +02:00
|
|
|
|
2022-03-21 05:46:11 +02:00
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
|
|
"postCreateCommand": "bundle install --path vendor/bundle && yarn install && ./bin/rails db:setup",
|
2022-03-13 16:03:36 +02:00
|
|
|
|
2022-03-21 05:46:11 +02:00
|
|
|
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
|
|
"remoteUser": "vscode"
|
2022-03-13 16:03:36 +02:00
|
|
|
}
|