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