2023-08-29 17:20:36 +09:00
|
|
|
{
|
|
|
|
"name": "Mastodon on GitHub Codespaces",
|
|
|
|
"dockerComposeFile": "../docker-compose.yml",
|
|
|
|
"service": "app",
|
|
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
|
|
|
|
|
|
"features": {
|
2024-01-23 20:44:50 +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-01-23 20:44:50 +09:00
|
|
|
"onAutoForward": "notify",
|
2023-08-29 17:20:36 +09:00
|
|
|
},
|
|
|
|
"4000": {
|
|
|
|
"label": "stream",
|
2024-01-23 20:44:50 +09:00
|
|
|
"onAutoForward": "silent",
|
|
|
|
},
|
2023-08-29 17:20:36 +09:00
|
|
|
},
|
|
|
|
|
|
|
|
"otherPortsAttributes": {
|
2024-01-23 20:44:50 +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-01-23 20:44:50 +09:00
|
|
|
"LIBRE_TRANSLATE_ENDPOINT": "",
|
2023-08-29 17:20:36 +09:00
|
|
|
},
|
|
|
|
|
|
|
|
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
|
|
|
"postCreateCommand": ".devcontainer/post-create.sh",
|
|
|
|
"waitFor": "postCreateCommand",
|
|
|
|
|
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"settings": {},
|
2024-01-23 20:44:50 +09:00
|
|
|
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"],
|
|
|
|
},
|
|
|
|
},
|
2023-08-29 17:20:36 +09:00
|
|
|
}
|