2023-08-29 17:20:36 +09:00
|
|
|
{
|
|
|
|
"name": "Mastodon on GitHub Codespaces",
|
|
|
|
"dockerComposeFile": "../docker-compose.yml",
|
|
|
|
"service": "app",
|
|
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
|
|
|
|
|
|
"features": {
|
2024-02-28 01:07:43 +09:00
|
|
|
"ghcr.io/devcontainers/features/sshd:1": {}
|
2023-08-29 17:20:36 +09:00
|
|
|
},
|
|
|
|
|
|
|
|
"runServices": ["app", "db", "redis"],
|
|
|
|
|
|
|
|
"forwardPorts": [3000, 4000],
|
|
|
|
|
|
|
|
"portsAttributes": {
|
|
|
|
"3000": {
|
|
|
|
"label": "web",
|
2024-02-28 01:07:43 +09:00
|
|
|
"onAutoForward": "notify"
|
2023-08-29 17:20:36 +09:00
|
|
|
},
|
|
|
|
"4000": {
|
|
|
|
"label": "stream",
|
2024-02-28 01:07:43 +09:00
|
|
|
"onAutoForward": "silent"
|
|
|
|
}
|
2023-08-29 17:20:36 +09:00
|
|
|
},
|
|
|
|
|
|
|
|
"otherPortsAttributes": {
|
2024-02-28 01:07:43 +09:00
|
|
|
"onAutoForward": "silent"
|
2023-08-29 17:20:36 +09:00
|
|
|
},
|
|
|
|
|
|
|
|
"remoteEnv": {
|
|
|
|
"LOCAL_DOMAIN": "${localEnv:CODESPACE_NAME}-3000.app.github.dev",
|
|
|
|
"LOCAL_HTTPS": "true",
|
|
|
|
"STREAMING_API_BASE_URL": "https://${localEnv:CODESPACE_NAME}-4000.app.github.dev",
|
|
|
|
"DISABLE_FORGERY_REQUEST_PROTECTION": "true",
|
|
|
|
"ES_ENABLED": "",
|
2024-02-28 01:07:43 +09:00
|
|
|
"LIBRE_TRANSLATE_ENDPOINT": ""
|
2023-08-29 17:20:36 +09:00
|
|
|
},
|
|
|
|
|
|
|
|
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
2024-06-06 18:00:09 +09:00
|
|
|
"postCreateCommand": "bin/setup",
|
2023-08-29 17:20:36 +09:00
|
|
|
"waitFor": "postCreateCommand",
|
|
|
|
|
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"settings": {},
|
2024-02-28 01:07:43 +09:00
|
|
|
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"]
|
|
|
|
}
|
|
|
|
}
|
2023-08-29 17:20:36 +09:00
|
|
|
}
|