Generated GRAFANA_URL_API is not accesible from external hosts
epuertat opened this issue · comments
Ernesto Puerta commented
As Ceph-Dashboard's GRAFANA_URL_API is generated from the following expression:
GRAFANA_IP=$(getent ahosts grafana.dev | tail -1 | awk '{print $1}')
It fails to retrieve the external IP address (only the bridged network addresses are found).
A suggestion would be to guess the external IP address in the docker-compose.yml and pass it as an environment variable. Let's discuss here the different approaches.