Move restart of proxy container to after the compose stack has been brought up to ensure container exists

This commit is contained in:
Andrew Kingston 2022-09-16 09:25:14 +01:00
parent 31ba6008a9
commit 97302198a3
1 changed files with 1 additions and 2 deletions

View File

@ -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() {