mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-30 20:03:43 +01:00
dc4427dc9b
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renaud Chaput <renchap@gmail.com>
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "Mastodon on GitHub Codespaces",
|
|
"dockerComposeFile": "../docker-compose.yml",
|
|
"service": "app",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/sshd:1": {}
|
|
},
|
|
|
|
"runServices": ["app", "db", "redis"],
|
|
|
|
"forwardPorts": [3000, 4000],
|
|
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "web",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"4000": {
|
|
"label": "stream",
|
|
"onAutoForward": "silent"
|
|
}
|
|
},
|
|
|
|
"otherPortsAttributes": {
|
|
"onAutoForward": "silent"
|
|
},
|
|
|
|
"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": "",
|
|
"LIBRE_TRANSLATE_ENDPOINT": ""
|
|
},
|
|
|
|
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
|
"postCreateCommand": ".devcontainer/post-create.sh",
|
|
"waitFor": "postCreateCommand",
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {},
|
|
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"]
|
|
}
|
|
}
|
|
}
|