mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-29 19:19:36 +01:00
40 lines
915 B
JSON
40 lines
915 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
|
|
}
|
|
},
|
|
|
|
"otherPortsAttributes": {
|
|
"onAutoForward": "silent"
|
|
},
|
|
|
|
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
|
"postCreateCommand": ".devcontainer/post-create.sh",
|
|
"waitFor": "postCreateCommand",
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {},
|
|
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"]
|
|
}
|
|
}
|
|
}
|