mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
DEV: Replace postCreateCommand with postStartCommand (#16665)
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.
This commit is contained in:
parent
406493660d
commit
e4054f040f
|
@ -6,7 +6,7 @@
|
||||||
"settings": {
|
"settings": {
|
||||||
"search.followSymlinks": false
|
"search.followSymlinks": false
|
||||||
},
|
},
|
||||||
"postCreateCommand": "sudo /sbin/boot",
|
"postStartCommand": "sudo /sbin/boot",
|
||||||
"extensions": ["rebornix.Ruby"],
|
"extensions": ["rebornix.Ruby"],
|
||||||
"forwardPorts": [9292],
|
"forwardPorts": [9292],
|
||||||
"remoteUser": "discourse",
|
"remoteUser": "discourse",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user