Skip to content

Instantly share code, notes, and snippets.

@takidog
Created February 16, 2022 12:31
Show Gist options
  • Save takidog/7e7c7c57479f746726bccf2c556cb9cb to your computer and use it in GitHub Desktop.
Save takidog/7e7c7c57479f746726bccf2c556cb9cb to your computer and use it in GitHub Desktop.
Run mongoDB on Azure App Service with volume

Run mongoDB on Azure App Service with volume

No you can't.


Azure storage use SMB(CIFS) mounting on app service

(CIFS: When mounting, CIFS need to set the user, group, permission on folder, can't change after mount)

but mongodb require specific user on linux not only 777 folder


在Azure App Service 掛載 Azure storage (volume)

不可能,放棄吧

Azure storage 用SMB(CIFS) 掛載在App service上

(CIFS 在掛載時就需要決定使用者、群組、權限,掛載後就不能改了)

但 mongoDB 寫入時不只需要寫入權限,還必須有正確的Linux使用者

不知道要抱怨哪方

2019年有的問題依然沒有解決

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment