简体   繁体   中英

How do you access external Metabase configuration file from Azure app service

I'm trying to run Metabase on Azure App Service, I've used the public Docker hub metabase/metabase image.

It runs well, but if i resize the app service, or it shuts down due to inactivity, I lose any configuration settings and have to start from scratch (adding database, mapping fields).

Metabase documentation ( https://www.metabase.com/docs/latest/operations-guide/running-metabase-on-docker.html#mounting-a-mapped-file-storage-volume ) states I should mount a local path inside the container, but how does this relate with a web app?

I tried adding an application setting "MB_DB_FILE=/metabase-data/metabase.db" but this hasn't helped.

Figured it out. I added application settings to create the application database in an external mysql db. Now if I ever want to host metabase elsewhere i can just point it at the same place and all dashboards and queries should remain.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM