Open fabianus76 opened 4 years ago
Hi @tiredofit ,
I have another question. What about ports 5061 5161 8001 8003 8008 8009 In https://github.com/tiredofit/docker-freepbx/blob/15/Dockerfile there are the ports being exposed. In https://github.com/tiredofit/docker-freepbx/blob/15/examples/docker-compose.yml they are currently not. Why is this ? Are the ports missing in docker-compose.yml ? Regards Alex B.
opened up a pull request #137
The example that I provided is pretty much a bare minimum. You wouldn't necessarily want to map all of those ports unless you really needed to. Typically you would be mapping 5061 and 5161 if using TLS. The 8000-8010 ports I believe are for UCP panel. If you aren't experiencing issues or not doing anything specific, you may not want to expose them in docker-compose. I've exposed them for certain instances should you need to talk to the container from another container and not be on the same network, again, a use case I haven't included in the example file.
hi tiredofit, in the docker-compose.yml file the ports 5060 and 5160 have to be marked for udp:
services: freepbx-app: container_name: freepbx-app image: tiredofit/freepbx ports:
If you aren't using a reverse proxy