From 6d3b4c3ccc4e50937e45a94ce7d7ddc263b1bea2 Mon Sep 17 00:00:00 2001 From: Jonny McCullagh Date: Fri, 30 Sep 2022 11:47:01 +0100 Subject: [PATCH] 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/