2020-12-08 18:35:15 -06:00
|
|
|
{
|
2022-04-28 07:47:11 -05:00
|
|
|
"name": "Discourse",
|
2024-11-14 06:11:38 -06:00
|
|
|
"image": "docker.io/discourse/discourse_dev:20241111-0710",
|
|
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/discourse,type=bind",
|
|
|
|
"workspaceFolder": "/workspace/discourse",
|
|
|
|
"postStartCommand": "./.devcontainer/scripts/start.rb",
|
|
|
|
"forwardPorts": [
|
|
|
|
9292, // bin/unicorn
|
|
|
|
3000, // bin/rails s
|
|
|
|
4200, // ember-cli
|
|
|
|
8025, // mailhog
|
|
|
|
9229 // chrome remote debug
|
|
|
|
],
|
2022-04-29 17:12:31 -05:00
|
|
|
"remoteUser": "discourse",
|
|
|
|
"remoteEnv": {
|
2024-11-14 06:11:38 -06:00
|
|
|
"RAILS_DEVELOPMENT_HOSTS": ".app.github.dev",
|
|
|
|
"PGUSER": "discourse",
|
|
|
|
"SELENIUM_FORWARD_DEVTOOLS_TO_PORT": "9229",
|
|
|
|
},
|
|
|
|
"mounts": [
|
|
|
|
"source=${localWorkspaceFolderBasename}-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume",
|
|
|
|
"source=${localWorkspaceFolderBasename}-pg,target=/shared/postgres_data,type=volume",
|
|
|
|
"source=${localWorkspaceFolderBasename}-redis,target=/shared/redis,type=volume"
|
|
|
|
],
|
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"extensions": [
|
|
|
|
"Shopify.ruby-lsp",
|
|
|
|
"esbenp.prettier-vscode",
|
|
|
|
"dbaeumer.vscode-eslint",
|
|
|
|
"lifeart.vscode-glimmer-syntax",
|
|
|
|
"typed-ember.glint-vscode"
|
|
|
|
]
|
|
|
|
}
|
2022-04-29 17:12:31 -05:00
|
|
|
}
|
2022-04-28 07:47:11 -05:00
|
|
|
}
|