This is the repository for the docker image stmcdevops/cactimysql to use with the cacti operating system and network monitoring. It is based on the official mysql 8.4.1 image and tune up for cacti required parameters.
Included packages
Mysql 8.4.1
Running Docker Container from docker-compose.yml
You have to run mysql or mariadb server before start cactiserver container . we recommend you to use cactimysql that already setup and tune up for cacti required parameters. and then create cacti database and cacti user follow mysql command below:
CREATE DATABASE MYSQL_DB_NAME;
CREATE USER `MYSQL_DB_USERNAME`@`%` IDENTIFIED BY 'MYSQL_DB_PASSWORD';
GRANT ALL PRIVILEGES ON MYSQL_DB_NAME.* to `MYSQL_DB_USERNAME`@`%`;
GRANT SELECT ON mysql.time_zone_name TO `MYSQL_DB_USERNAME`@`%`;
ALTER DATABASE MYSQL_DB_NAME CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;