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 64c03dfb1b
commit 5bcb4c5393
1 changed files with 1 additions and 2 deletions

View File

@ -71,11 +71,10 @@ async function init() {
async function up() {
console.log("Spinning up your budibase dev environment... 🔧✨")
await init()
await compose.upAll(CONFIG)
// We always ensure to restart the proxy service in case of nginx conf changes
await compose.restartOne("proxy-service", CONFIG)
await compose.upAll(CONFIG)
}
async function down() {