You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.2 KiB
49 lines
1.2 KiB
{ |
|
"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"] |
|
} |
|
} |
|
}
|
|
|