mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:13:22 +08:00
e4054f040f
The boot script should be run whenever the container is started. Otherwise, when you restart a stopped container you don't have the database running.
17 lines
468 B
JSON
17 lines
468 B
JSON
{
|
|
"name": "Discourse",
|
|
"image": "discourse/discourse_dev:release",
|
|
"workspaceMount": "source=${localWorkspaceFolder}/../..,target=/var/www/discourse,type=bind",
|
|
"workspaceFolder": "/var/www/discourse",
|
|
"settings": {
|
|
"search.followSymlinks": false
|
|
},
|
|
"postStartCommand": "sudo /sbin/boot",
|
|
"extensions": ["rebornix.Ruby"],
|
|
"forwardPorts": [9292],
|
|
"remoteUser": "discourse",
|
|
"remoteEnv": {
|
|
"DISCOURSE_DEV_HOSTS": ".githubpreview.dev"
|
|
}
|
|
}
|