forked from mastodon/mastodon
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3,350 changed files
with
118,957 additions
and
84,095 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"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"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,40 @@ | ||
{ | ||
"name": "Mastodon", | ||
"name": "Mastodon on local machine", | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "app", | ||
"workspaceFolder": "/mastodon", | ||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": {}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/sshd:1": {} | ||
}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"EditorConfig.EditorConfig", | ||
"dbaeumer.vscode-eslint", | ||
"rebornix.Ruby", | ||
"webben.browserslist" | ||
], | ||
"forwardPorts": [3000, 4000], | ||
|
||
"features": { | ||
"ghcr.io/devcontainers/features/sshd:1": { | ||
"version": "latest" | ||
"portsAttributes": { | ||
"3000": { | ||
"label": "web", | ||
"onAutoForward": "notify", | ||
"requireLocalPort": true | ||
}, | ||
"4000": { | ||
"label": "stream", | ||
"onAutoForward": "silent", | ||
"requireLocalPort": true | ||
} | ||
}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// This can be used to network with other containers or the host. | ||
"forwardPorts": [3000, 4000], | ||
"otherPortsAttributes": { | ||
"onAutoForward": "silent" | ||
}, | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", | ||
"postCreateCommand": ".devcontainer/post-create.sh", | ||
"waitFor": "postCreateCommand", | ||
|
||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode" | ||
"customizations": { | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
👋 Welcome to "Mastodon" in GitHub Codespaces! | ||
|
||
🛠️ Your environment is fully setup with all the required software. | ||
|
||
🔍 To explore VS Code to its fullest, search using the Command Palette (Cmd/Ctrl + Shift + P or F1). | ||
|
||
📝 Edit away, run your app as usual, and we'll automatically make it available for you to access. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.