openwisp / docker-openwisp

OpenWISP in docker. For production usage we recommend using the ansible-openwisp2 role.
https://openwisp.io/docs/dev/docker/
BSD 3-Clause "New" or "Revised" License
149 stars 75 forks source link

Dashboard unliable even after a succefull install #309

Closed Ortiz25 closed 1 month ago

Ortiz25 commented 1 month ago

Is there a way to alter the configs to reach the dash via the servers IP (as the earlier versions) as opposed to domain, I have tried to access the dashboard via the domain dashboard.openwisp.org but to no avail.

nemesifier commented 1 month ago

You have several options:

To reach the dashboard you may need to add the openwisp domains set in your .env to your hosts file, example: bash -c 'echo "127.0.0.1 dashboard.openwisp.org api.openwisp.org" >> /etc/hosts'

Using IP address in prod is not recommended as this will likely require you to turn of SSL verification on your devices, which is insecure.

If you have more questions please use the support channels, github issues are for bug reports only.