thilojaeggi / WinGetty

An open source REST Backend for creating a private WinGet Repo without having to rely on cloud dependencies.
https://wingetty.dev
GNU Affero General Public License v3.0
168 stars 15 forks source link

External Storage Mapping #15

Closed RealDeclan closed 9 months ago

RealDeclan commented 9 months ago

Is your feature request related to a problem? Please describe. I have this running in an app service in azure. I cant map the storage location to an external store.

Describe the solution you'd like or how it could be implemented I would like to store the installers and manifests to a bucket like an Azure Storage Account. This could also act as a recovery point should the app fail. It could be pointed to the data store and find all the manifests and apps without having to re-add them.

thilojaeggi commented 9 months ago

I see no reason why you shouldn't be able to store your packages in an Azure service, just modify your docker-compose file for both WINGETTY_DATABASE_URI and the volumes.

RealDeclan commented 9 months ago

I've gone down the route of attaching a Azure File Share to the instance. If i get it working, ill report back with the solution.

RealDeclan commented 9 months ago

Ok, works great. In short, i have deployed Wingetty to an Azure App Service. I then created a storage account with an Azure File share. Once both are created, i attached the Azure File Share to the App service and mapped the file share paths as follows image