Open SvenAelterman opened 11 months ago
The above might not work. However, creating a script and calling it via SCM_POST_DEPLOYMENT_ACTIONS_PATH=<path>
.
Alternatively, the necessary code can be added in the startup.sh script, in which case it would be executed on every container start and some guard clauses might be needed to avoid changing configuration.
This could be done by creating a WebJob that runs just once.
Use Deployment Script with VNet integration to execute remaining mysql commands? Per https://learn.microsoft.com/azure/azure-resource-manager/bicep/deployment-script-vnet
However, need to determine how the Deployment Script will be called in the sequence. It must happen after the database deployment (part of the web app deployment) is finished.