2022-03-13 23:03:36 +09:00
|
|
|
{
|
|
|
|
"name": "Mastodon",
|
|
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
|
|
"service": "app",
|
2022-12-16 02:49:43 +09:00
|
|
|
"workspaceFolder": "/mastodon",
|
2022-03-13 23:03:36 +09:00
|
|
|
|
2023-02-19 15:02:46 +09:00
|
|
|
// Configure tool-specific properties.
|
|
|
|
"customizations": {
|
|
|
|
// Configure properties specific to VS Code.
|
|
|
|
"vscode": {
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
|
|
"settings": {},
|
2022-03-13 23:03:36 +09:00
|
|
|
|
2023-02-19 15:02:46 +09:00
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
|
|
"extensions": [
|
|
|
|
"EditorConfig.EditorConfig",
|
|
|
|
"dbaeumer.vscode-eslint",
|
|
|
|
"rebornix.Ruby",
|
|
|
|
"webben.browserslist"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-03-13 23:03:36 +09:00
|
|
|
|
2023-01-05 21:32:59 +09:00
|
|
|
"features": {
|
|
|
|
"ghcr.io/devcontainers/features/sshd:1": {
|
|
|
|
"version": "latest"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
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.
|
2022-12-16 01:40:36 +09:00
|
|
|
"postCreateCommand": ".devcontainer/post-create.sh",
|
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
|
|
|
}
|