Hi there - I’m new to FreePBX, but not PHP (I’m a Drupal developer, mostly.)
I have been spec’ing out FreePBX and Asterisk for a client and am considering deploying using Docker. I know there is not a specific supported Docker image, however I do see a number of configurations in the wild which utilize this approach. I am to the point where I can successfully install FreePBX and utilize an external database, however I’m stuck on how to effectively deploy updates. My goal would be to not upgrade directly on the production machines, but test upgrades locally, package the working code, and then deploy that code to production and complete any upgrade scripts/schema updates after pushing the tested image with the new code.
The only real upgrade/update paths I see utilize
fwconsole or similar to download and apply the upgrades directly; is there a way I could do that in development, committing the resulting code to my repo, and then run just something like an
update-db script on production?