Refactor app container file system and enable WEBSITES_ENABLE_APP_SERVICE_STORAGE #1774
Closed
3 tasks
Labels
infrastructure
Terraform, Azure, etc.
Milestone
This is a follow up to #1763
Now we can customize the location that Django creates and looks for its Sqlite database file 👍 But we can't write to a persistent storage location, because our app service container overwrites the Azure-provided persistent file system each restart. So it can't be used to maintain our database yet.
Further, due to the way our Docker image build structures the app's files, we can't take advantage of this local storage -- both would be competing to co-exist under
/home
. We need this directory to remain stable for the Azure filesystem, and we need the app to execute from a different directory.Acceptance Criteria
/home
based directory as the root of the app containerWEBSITES_ENABLE_APP_SERVICE_STORAGE
istrue
django-db-dir
is/home/site/wwwroot
Additional context
Azure docs: Use persistent shared storage
Potential alternative to #1773
The text was updated successfully, but these errors were encountered: