2023-08-29 04:20:36 -04:00
|
|
|
{
|
|
|
|
"name": "Mastodon on GitHub Codespaces",
|
|
|
|
"dockerComposeFile": "../docker-compose.yml",
|
|
|
|
"service": "app",
|
|
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
|
|
|
|
|
|
"features": {
|
2024-02-27 11:07:43 -05:00
|
|
|
"ghcr.io/devcontainers/features/sshd:1": {}
|
2023-08-29 04:20:36 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
"runServices": ["app", "db", "redis"],
|
|
|
|
|
|
|
|
"forwardPorts": [3000, 4000],
|
|
|
|
|
|
|
|
"portsAttributes": {
|
|
|
|
"3000": {
|
|
|
|
"label": "web",
|
2024-02-27 11:07:43 -05:00
|
|
|
"onAutoForward": "notify"
|
2023-08-29 04:20:36 -04:00
|
|
|
},
|
|
|
|
"4000": {
|
|
|
|
"label": "stream",
|
2024-02-27 11:07:43 -05:00
|
|
|
"onAutoForward": "silent"
|
|
|
|
}
|
2023-08-29 04:20:36 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
"otherPortsAttributes": {
|
2024-02-27 11:07:43 -05:00
|
|
|
"onAutoForward": "silent"
|
2023-08-29 04:20:36 -04: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-27 11:07:43 -05:00
|
|
|
"LIBRE_TRANSLATE_ENDPOINT": ""
|
2023-08-29 04:20:36 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
2024-06-06 05:00:09 -04:00
|
|
|
"postCreateCommand": "bin/setup",
|
2023-08-29 04:20:36 -04:00
|
|
|
"waitFor": "postCreateCommand",
|
|
|
|
|
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"settings": {},
|
2024-02-27 11:07:43 -05:00
|
|
|
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"]
|
|
|
|
}
|
|
|
|
}
|
2023-08-29 04:20:36 -04:00
|
|
|
}
|