Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create and mount custom persistent Azure file share #1773

Closed
2 tasks done
thekaveman opened this issue Nov 2, 2023 · 1 comment
Closed
2 tasks done

Create and mount custom persistent Azure file share #1773

thekaveman opened this issue Nov 2, 2023 · 1 comment
Assignees
Labels
infrastructure Terraform, Azure, etc.

Comments

@thekaveman
Copy link
Member

thekaveman commented Nov 2, 2023

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.

But we can create and mount a custom persistent file share in Azure, and maybe that works as a way to keep the Sqlite database.

Acceptance Criteria

  • Terraform creates and mounts an Azure File Share into app container directory
  • App config django-db-dir points to mounted share

Additional context

Azure docs: Mount Azure Storage as a local share in App Service

Potential alternative to #1774

@thekaveman
Copy link
Member Author

This appears to be working for now! Pending some more testing and activation of the admin interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Terraform, Azure, etc.
Projects
Status: Done
Development

No branches or pull requests

1 participant