tiredofit / docker-freepbx

Dockerized FreePBX 15 w/Asterisk 17, Seperate MySQL Database support, and Data Persistence and UCP
MIT License
515 stars 235 forks source link

Clarification on being able to use macvlan network instead of reverse proxy #93

Open gtothill opened 5 years ago

gtothill commented 5 years ago

Apologies for duplicate

gtothill commented 5 years ago

So sorry to have to as what is almost certainly a naive question - and thanks for this image in advance! I’m trying to replicate an existing Freepbx installation that has a fixed IP on my internal network and works ok behind a utm / gateway firewall. To do this I have set up an MySQL database on a macvlan and allocated the container a fixed up address on that network (the same network segment as the existing machine). I cant bring up the web interface and so I just thought that I would check that there were not any more fundamental changes that I had to make to disable the use of the reverse proxy and make the ports listen directly on the IP address that I have allocated on my macvlan? Understand that I may need to post my docker-compose file but in principles at this stage, is this possible with this image build? Thanks a million, I feel IM being a little lazy asking but I’m relatively new to docker and its a big lift at the moment!

Regards,

Geoff.

tiredofit commented 5 years ago

Theoretically it should work. I've not tried it personally just the standard Docker Bridge mode and my included Reverse Proxy config. I would definitely need to see some logs (try DEBUG_MODE=TRUE) on a clean install along with your docker-compose.yml. You could also email them to me, find my email address in the Changelogs for privacy.

gtothill commented 5 years ago

Thanks - that’s kind. When I get a moment I will run a completely clean install and send you the logs and my docker-compose file. Meanwhile I will try and tease out the reverse proxy config and see if I can make it work. Regards, Geoff.