2022-03-13 23:03:36 +09: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 12:46:11 +09:00
|
|
|
"settings": {},
|
2022-03-13 23:03:36 +09:00
|
|
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
2022-03-21 12:46:11 +09:00
|
|
|
"extensions": [
|
2022-03-13 23:03:36 +09:00
|
|
|
"EditorConfig.EditorConfig",
|
|
|
|
"dbaeumer.vscode-eslint",
|
2022-05-20 11:39:05 +09:00
|
|
|
"rebornix.Ruby",
|
|
|
|
"webben.browserslist"
|
2022-03-21 12:46:11 +09:00
|
|
|
],
|
2022-03-13 23:03:36 +09:00
|
|
|
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
2022-03-21 12:46:11 +09:00
|
|
|
// This can be used to network with other containers or the host.
|
|
|
|
"forwardPorts": [3000, 4000],
|
2022-03-13 23:03:36 +09:00
|
|
|
|
2022-03-21 12:46:11 +09: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 23:03:36 +09:00
|
|
|
|
2022-03-21 12:46:11 +09:00
|
|
|
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
|
|
"remoteUser": "vscode"
|
2022-03-13 23:03:36 +09:00
|
|
|
}
|