mirror of
https://github.com/mastodon/mastodon
synced 2024-11-27 22:38:27 +09:00
43 lines
915 B
JSON
43 lines
915 B
JSON
{
|
|
"name": "Mastodon on local machine",
|
|
"dockerComposeFile": "compose.yaml",
|
|
"service": "app",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/sshd:1": {}
|
|
},
|
|
|
|
"forwardPorts": [3000, 4000],
|
|
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "web",
|
|
"onAutoForward": "notify",
|
|
"requireLocalPort": true
|
|
},
|
|
"4000": {
|
|
"label": "stream",
|
|
"onAutoForward": "silent",
|
|
"requireLocalPort": true
|
|
}
|
|
},
|
|
|
|
"remoteUser": "root",
|
|
|
|
"otherPortsAttributes": {
|
|
"onAutoForward": "silent"
|
|
},
|
|
|
|
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
|
"postCreateCommand": "bin/setup",
|
|
"waitFor": "postCreateCommand",
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {},
|
|
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"]
|
|
}
|
|
}
|
|
}
|