From d9a33e52cf6834e220ec5deb489c737acd3bf697 Mon Sep 17 00:00:00 2001 From: Jonny McCullagh Date: Fri, 30 Sep 2022 11:43:42 +0100 Subject: [PATCH 1/2] AAS enable app service storage --- hosting/single/runner.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hosting/single/runner.sh b/hosting/single/runner.sh index cf82e6701b..151ee7026d 100644 --- a/hosting/single/runner.sh +++ b/hosting/single/runner.sh @@ -19,6 +19,7 @@ declare -a DOCKER_VARS=("APP_PORT" "APPS_URL" "ARCHITECTURE" "BUDIBASE_ENVIRONME # Azure App Service customisations if [[ "${TARGETBUILD}" = "aas" ]]; then DATA_DIR=/home + WEBSITES_ENABLE_APP_SERVICE_STORAGE=true /etc/init.d/ssh start else DATA_DIR=${DATA_DIR:-/data} From 6d3b4c3ccc4e50937e45a94ce7d7ddc263b1bea2 Mon Sep 17 00:00:00 2001 From: Jonny McCullagh Date: Fri, 30 Sep 2022 11:47:01 +0100 Subject: [PATCH 2/2] AAS enable app service storage --- hosting/scripts/build-target-paths.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hosting/scripts/build-target-paths.sh b/hosting/scripts/build-target-paths.sh index c974d9a304..67e1765ca8 100644 --- a/hosting/scripts/build-target-paths.sh +++ b/hosting/scripts/build-target-paths.sh @@ -4,6 +4,7 @@ echo ${TARGETBUILD} > /buildtarget.txt if [[ "${TARGETBUILD}" = "aas" ]]; then # Azure AppService uses /home for persisent data & SSH on port 2222 DATA_DIR=/home + WEBSITES_ENABLE_APP_SERVICE_STORAGE=true mkdir -p $DATA_DIR/{search,minio,couch} mkdir -p $DATA_DIR/couch/{dbs,views} chown -R couchdb:couchdb $DATA_DIR/couch/