freePBX 17 in GCP

Hello,

I’m very new to Asterisk and freePBX, so I apologize if this is an obvious question. I recently asked as question about deploying freePBX 17 with docker. The post can be found here: freePBX 17 installation with Docker
The reason for this was that I want to deploy freePBX in Google Cloud, and docker images have so far been my go to method. From some other discussions I’ve read online it seems like freePBX is not meant to be deployed with docker. Perhaps that’s why i’m having issues with it. Regardless, I wanted to ask what would be the better approach then? Should I get a Debian 12 VM and just install it there or are there better options?

Thank you in advance,
Rudolf

There have been quite a few discussions on this forum regarding docker that you can find using the search function. If you are using FreePBX 17, I think the best way would be to spin up up a Debian 12 instance, then use the official installation script - https://sangomakb.atlassian.net/wiki/spaces/FP/pages/230326391/FreePBX+17+Installation#How-to-execute-the-script

1 Like

Did your install log file have anything useful in it?

FreePBX by default expects ports udp 10000 - 20000 to be forwarded for media, docker doesn’t like doing that.

FreePBX is no monolithic. If you were going to install in Docker you would have to breakup FreePBX into its components. GUI + Framework, MySQL, Asterisk at very least. Better bet is to stick to a VM as mentioned by @adell4444. If you embark on Docker would love to see how for you get.
Nenad

To reinforce this search these forums for docker to see why it is just an awful idea. @xrobau has done several posts on this. Nenad hit the nail on the head here. Essentially FreePBX is not designed to work the way that it needs to for docker. Ad some other crap about ports and networks and it’s basically a dumpster fire. The long standing route here is to use virtualization

2 Likes

LXD/LXC is probably the best choice here, especially if you want more than one FreePBI in your puddle

BTDT

2 Likes

We have 6 Freepbx in GCP with Debian VM, 3000 extensions…all works fine

Cool, but hard to bring ‘on-site’ "-)

But you are running VM’s at GCP side Not a Docker or Containers ?

GCP – Computer Engine – Debian Vm

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.