Error when setup database

Thanks Jason! Here are the container definition:

Mariadb

docker run -v /volume1/docker/mariadb:/var/lib/mysql -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -e TZ=America/Los_Angeles --name mariadb -d mariadb:latest --sql-mode=’’

I had to use MYSQL_ALLOW_EMPTY_PASSWORD=yes since if I use MYSQL_ROOT_PASSWORD=random_password when trying to connect to the DB with docker exec -it mariadb mysql -u root I get a Access denied for user ‘root’@‘localhost’ (using password: NO)

librenms

docker run
-p 8668:80
-e DB_HOST=db
-e DB_NAME=librenms
-e DB_USER=librenms
-e DB_PASS=random_password
-e APP_KEY=base64:+kJkeYIsgMfab5qSYMg9csNP0OJQIc+mG+j0x48SDlo=
-e BASE_URL=http://192.168.1.100:8668
-e TZ=America/Los_Angeles
–link mariadb:db
-v /volume1/docker/librenms/logs:/opt/librenms/logs
-v /volume1/docker/librenms/rrd:/opt/librenms/rrd
-v /volume1/docker/librenms/custom.config.php:/opt/librenms/conf.d/custom.config.php:ro
–name librenms
-d
–restart always
jarischaefer/docker-librenms:latest

After running the setup_database and the timeout, when I look in the DB, I see that some tables had been created.