Closed ideasman69 closed 4 years ago
switched over to docker compose using the example and had much better luck. the documentation isn't explicitly clear that it requires the sidecar dockers to work, i presumed they were optional. Either way - thanks for this sweet docker!
Hey @ideasman69 , @crazy-max
I am new to docker and to docker compose. But I am at the exact same point as you are. Used basic docker commands:
create volumes and networks
docker volume create librenms_data docker volume create librenms_mysql_data docker network create -d bridge nms-nw
create MySQL Server
docker run --net=nms-nw --name librenms_mysql -v librenms_mysql_data:/var/lib/mysql -v librenms_mysql_data:/docker-entrypoint-initdb.d -e MYSQL_ROOT_PASSWORD=*** -e MYSQL_USER=librenms -e MYSQL_PASSWORD=librenms -e MYSQL_DATABASE=librenms -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_unicode_ci --explicit-defaults-for-timestamp=1
Create Webserver / System
docker run -d -p 18070:8000 --name=librenms --net=nms-nw -e DB_HOST=librenms_mysql -e DB_NAME=librenms -e DB_USER=librenms -e DB_PASSWORD=*** --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v librenms_data:/data librenms/librenms:latest
LibreNMS Webinterface works and configuration check is successful (no errors). I addes 10 devices, green button show up but under domain/devices/ is nothing visible....domain/devices/debug=yes/ I see all devices without pooling info.
Do I have to install any other services? what is the docker command? I not ready with docker compose yet :I hopefully soon. Maybe you can help me and others with the same problem. Kind regards
Behaviour
Steps to reproduce this issue
Expected behaviour
Actual behaviour
Configuration
docker --version
) : Docker version 18.09.8, build 2c0a67b (synology NAS)docker-compose --version
) : docker-compose version 1.24.0, build 0aa59064docker-compose.yml
,.env
, ...docker command to create DB:
docker command to create librenms docker:
.env:
librenms.env:
Docker info
Logs
edit: i've also created the sidecar cron docker using the following:
...but unfortunately still not working. What can i be missing here?