I tried the following command:
docker run -d -p 8000:8000 --name librenms \
-v $(pwd)/data:/data \
-e "DB_HOST=192.168.0.107" \
-e "MYSQL_USER=user" \
-e "MYSQL_PASSWORD=password" \
librenms/librenms:latest
And I get this error: ERROR: Either DB_PASSWORD or DB_PASSWORD_FILE must be defined
Then I just changed to this:
docker run -d -p 8000:8000 --name librenms \
-v $(pwd)/data:/data \
-e "DB_HOST=192.168.0.107" \
-e "MYSQL_USER=user" \
-e "DB_PASSWORD=pass" \
librenms/librenms:latest
And then at lest it tired to connect to the database. It is maybe the documentation wrong?