2022-03-13 23:03:36 +09:00
|
|
|
{
|
2023-08-29 10:20:36 +02:00
|
|
|
"name": "Mastodon on local machine",
|
2024-06-07 16:18:02 -04:00
|
|
|
"dockerComposeFile": "compose.yaml",
|
2022-03-13 23:03:36 +09:00
|
|
|
"service": "app",
|
2023-03-04 15:35:00 -08:00
|
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
2024-12-25 10:54:29 +05:30
|
|
|
|
2023-01-05 21:32:59 +09:00
|
|
|
"features": {
|
2024-02-27 17:07:43 +01:00
|
|
|
"ghcr.io/devcontainers/features/sshd:1": {}
|
2023-01-05 21:32:59 +09:00
|
|
|
},
|
2024-12-25 10:54:29 +05:30
|
|
|
|
|
|
|
"forwardPorts": [3000, 3035, 4000],
|
2022-03-13 23:03:36 +09:00
|
|
|
|
2023-08-29 10:20:36 +02:00
|
|
|
"portsAttributes": {
|
|
|
|
"3000": {
|
2024-12-25 10:54:29 +05:30
|
|
|
"label": "Web Application",
|
|
|
|
"onAutoForward": "notify",
|
|
|
|
"requireLocalPort": true
|
|
|
|
},
|
|
|
|
"3035": {
|
|
|
|
"label": "Webpack Dev Server",
|
2023-08-29 10:20:36 +02:00
|
|
|
"onAutoForward": "notify",
|
2024-02-27 17:07:43 +01:00
|
|
|
"requireLocalPort": true
|
2023-08-29 10:20:36 +02:00
|
|
|
},
|
|
|
|
"4000": {
|
2024-12-25 10:54:29 +05:30
|
|
|
"label": "Streaming API",
|
2023-08-29 10:20:36 +02:00
|
|
|
"onAutoForward": "silent",
|
2024-02-27 17:07:43 +01:00
|
|
|
"requireLocalPort": true
|
|
|
|
}
|
2023-08-29 10:20:36 +02:00
|
|
|
},
|
|
|
|
|
2024-06-06 04:49:31 -04:00
|
|
|
"remoteUser": "root",
|
|
|
|
|
2023-08-29 10:20:36 +02:00
|
|
|
"otherPortsAttributes": {
|
2024-02-27 17:07:43 +01:00
|
|
|
"onAutoForward": "silent"
|
2023-08-21 08:51:37 +02:00
|
|
|
},
|
|
|
|
|
2023-03-29 04:27:19 -07:00
|
|
|
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
2024-12-25 10:54:29 +05:30
|
|
|
"postCreateCommand": "bin/setup && yarn install",
|
2023-03-04 15:35:00 -08:00
|
|
|
"waitFor": "postCreateCommand",
|
2022-03-13 23:03:36 +09:00
|
|
|
|
2023-03-04 15:35:00 -08:00
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
2024-12-25 10:54:29 +05:30
|
|
|
"settings": {
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"files.eol": "\n"
|
|
|
|
},
|
|
|
|
"extensions": [
|
|
|
|
"EditorConfig.EditorConfig",
|
|
|
|
"webben.browserslist",
|
|
|
|
"rebornix.ruby",
|
|
|
|
"esbenp.prettier-vscode",
|
|
|
|
"dbaeumer.vscode-eslint"
|
|
|
|
]
|
2024-02-27 17:07:43 +01:00
|
|
|
}
|
|
|
|
}
|
2022-03-13 23:03:36 +09:00
|
|
|
}
|