From ad70bd5a0b7c0c96c72adb8affcdb39ae178b0e0 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/