From 34285b594fe9cf6031d0881986d10f4305fcd5a7 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Thu, 5 Sep 2024 12:59:11 +0100 Subject: [PATCH] both storage options required While checking on configuration bug I noticed this should be both not or --- docker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker.js b/docker.js index 3fe0f41..f3e6c88 100644 --- a/docker.js +++ b/docker.js @@ -102,7 +102,7 @@ const createContainer = async (project, domain) => { contOptions.Env.push('NODE_EXTRA_CA_CERTS=/usr/local/ssl-certs/chain.pem') } - if (this._app.config.driver.options?.storage?.enabled || this._app.config.driver.options?.storage?.path) { + if (this._app.config.driver.options?.storage?.enabled && this._app.config.driver.options?.storage?.path) { try { const localPath = path.join('/opt/persistent-storage', project.id) console.log(`Creating dir in container ${localPath}`)