mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
42 lines
921 B
JSON
42 lines
921 B
JSON
{
|
|
"name": "Mastodon on local machine",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"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"]
|
|
}
|
|
}
|
|
}
|