2022-03-13 07:03:36 -07:00
|
|
|
{
|
|
|
|
"name": "Mastodon",
|
|
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
|
|
"service": "app",
|
|
|
|
"workspaceFolder": "/workspaces/mastodon",
|
|
|
|
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
2022-03-20 20:46:11 -07:00
|
|
|
"settings": {},
|
2022-03-13 07:03:36 -07:00
|
|
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
2022-03-20 20:46:11 -07:00
|
|
|
"extensions": [
|
2022-03-13 07:03:36 -07:00
|
|
|
"EditorConfig.EditorConfig",
|
|
|
|
"dbaeumer.vscode-eslint",
|
2022-03-20 20:46:11 -07:00
|
|
|
"rebornix.Ruby"
|
|
|
|
],
|
2022-03-13 07:03:36 -07:00
|
|
|
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
2022-03-20 20:46:11 -07:00
|
|
|
// This can be used to network with other containers or the host.
|
|
|
|
"forwardPorts": [3000, 4000],
|
2022-03-13 07:03:36 -07:00
|
|
|
|
2022-03-20 20:46:11 -07: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 07:03:36 -07:00
|
|
|
|
2022-03-20 20:46:11 -07:00
|
|
|
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
|
|
"remoteUser": "vscode"
|
2022-03-13 07:03:36 -07:00
|
|
|
}
|