tiredofit / docker-freepbx

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

How to access FreePBX? #15

Closed mihalski closed 6 years ago

mihalski commented 6 years ago

Hi, this is my first attempt at using Asterisk/FreePBX and I followed the instructions as best as I could. Here is the command I used with an empty /docker/freepbx directory:

docker run -d \
  --name freepbx \
  --restart=always \
  --net=host \
  --privileged \
  -v /docker/freepbx/certs:/certs \
  -v /docker/freepbx/www:/www/freepbx \
  -v /docker/freepbx/log:/var/log/ \
  -v /docker/freepbx/data:/data \
  -e DB_EMBEDDED=TRUE \
  tiredofit/freepbx

If I then go to log in I simply get:

Apache2 Debian Default Page

Is there something I am missing?

tiredofit commented 6 years ago

The install is rather intense when first starting up, can you give me the log output?

mihalski commented 6 years ago

Sure, if you mean the output of docker logs freepbx.

dockerlogs.txt.gz

tiredofit commented 6 years ago

That's the most perfect install log I've seen :) I am truly surprised that you are seeing issues. Since you are running in host networking mode, I do wonder if there is something sneaking in.

How about the output from /etc/apache2/sites-enabled/000-default.conf ?

Also, can you try http://localhost/admin , or http://localhost/ucp ?

mihalski commented 6 years ago

Well that was the missing bit on information.. I had NO idea that /admin was required in the path of the URL.

So far so good, now I just have to learn how to use it!

tiredofit commented 6 years ago

Something is up as it should auto redirect to the /admin folder.. Good luck! It's a long hairpulling journey into SIP/IAX/VOIP you are taking :)