Move restart of proxy container to after the compose stack has been brought up to ensure container exists
This commit is contained in:
parent
31ba6008a9
commit
97302198a3
|
@ -71,11 +71,10 @@ async function init() {
|
||||||
async function up() {
|
async function up() {
|
||||||
console.log("Spinning up your budibase dev environment... 🔧✨")
|
console.log("Spinning up your budibase dev environment... 🔧✨")
|
||||||
await init()
|
await init()
|
||||||
|
await compose.upAll(CONFIG)
|
||||||
|
|
||||||
// We always ensure to restart the proxy service in case of nginx conf changes
|
// We always ensure to restart the proxy service in case of nginx conf changes
|
||||||
await compose.restartOne("proxy-service", CONFIG)
|
await compose.restartOne("proxy-service", CONFIG)
|
||||||
|
|
||||||
await compose.upAll(CONFIG)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function down() {
|
async function down() {
|
||||||
|
|
Loading…
Reference in New Issue