-
Notifications
You must be signed in to change notification settings - Fork 7
Azure Web App migration
Goal: deploy OCELoT instance on Azure Web App instead of dedicated Azure VM. This should simplify deployment while also make instances more fail-safe.
Random notes from working through the web app migration process:
-
We have to think about static vs user-uploaded files: this brings up
STATIC_ROOTvsMEDIA_ROOTquestions forocelot/settings.py. We also need to decide if we want to use/setMEDIA_URLto serve media files? -
Backup of all non-database data should happen via copying data from the web app's
/home/site/wwwroot/folder. -
Currently (7/09/2021) there is no support for running cron-like web jobs for Linux-powered app service plans :(
-
Need to define set of
OCELOT_...environment variables honoured by code base. -
Setting up vNet and private link connection to PostgreSQL database server was quite a pain. One open issue is how to connect to the database without having to use a browser-based web SSH shell...