linuxserver / docker-bookstack

A Docker container for the BookStack documentation wiki
GNU General Public License v3.0
747 stars 108 forks source link

[FEAT] Deployment to Azure AppService #166

Closed wayneme75 closed 1 year ago

wayneme75 commented 1 year ago

Is this a new feature request?

Wanted change

I am trying to deploy Bookstack to an Azure AppService. I cannot find any documentation on how to do this and configuration of the connection to an Azure db for MySQL.

If this has been done before can this be documented for reuse?

Reason for change

Seamless deployment of Bookstack to Azure cloud. Repeatable process for others to use.

Proposed code change

No response

github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

wayneme75 commented 1 year ago

Steps to deploy to Azure App Service: Step1: install Azure db for mySQL Step2: create database in the mySQL service eg: bookstapapp Step3: disable SSL on db (not best practice, good for testing) Step4: create appservice from docker, configure docker linuxserver/bookstack:latest Step5: configure appservice environment parameters • APP_URL (taken from app service overview blade) • DB_HOST (found Azure db mySQL overview blade • DB_USER • DB_PASS • DB_DATABASE (the db which you created earlier) There are numerous configuration options to further lock down the app service or network access on mySQL environment