2022-03-13 15:03:36 +01:00
|
|
|
{
|
|
|
|
"name": "Mastodon",
|
|
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
|
|
"service": "app",
|
2022-12-15 18:49:43 +01:00
|
|
|
"workspaceFolder": "/mastodon",
|
2022-03-13 15:03:36 +01:00
|
|
|
|
2023-02-19 07:02:46 +01: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 15:03:36 +01:00
|
|
|
|
2023-02-19 07:02:46 +01: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 15:03:36 +01:00
|
|
|
|
2023-01-05 13:32:59 +01:00
|
|
|
"features": {
|
|
|
|
"ghcr.io/devcontainers/features/sshd:1": {
|
|
|
|
"version": "latest"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2022-03-13 15:03:36 +01:00
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
2022-03-21 04:46:11 +01:00
|
|
|
// This can be used to network with other containers or the host.
|
|
|
|
"forwardPorts": [3000, 4000],
|
2022-03-13 15:03:36 +01:00
|
|
|
|
2022-03-21 04:46:11 +01:00
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
2022-12-15 17:40:36 +01:00
|
|
|
"postCreateCommand": ".devcontainer/post-create.sh",
|
2022-03-13 15:03:36 +01:00
|
|
|
|
2022-03-21 04:46:11 +01:00
|
|
|
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
|
|
"remoteUser": "vscode"
|
2022-03-13 15:03:36 +01:00
|
|
|
}
|