Azure container instance
To deploy UI Bakery to an Azure container instance, follow these steps:
Login docker to Azure.
Create a docker context.
Use new context.
Clone ui bakery self-hosted repository.
UI Bakery requires db to persist its data. So it's necessary to create one. We suggest you use Azure Database for MySQL.
Set
UI_BAKERY_LICENSE_KEY
variable in docker-compose-azure-container-instances.yml forbakery-back
service.
Set
UI_BAKERY_DB_*
variables in docker-compose-azure-container-instances.yml forbakery-back
service.
Up the Azure container instance.
Find the assigned IP address. Run
docker ps
and in column PORTS you'll find the assigned IP address.Replace all occurrences of
UI_BAKERY_APP_SERVER_NAME
with the IP address retrieved in the previous step.
Restart the instance to apply the new configuration.
Last updated