fix db conf

This commit is contained in:
Thorsten Spille 2025-07-25 15:16:15 +02:00 committed by GitHub
parent 9f637c0083
commit fef7c7b11f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,14 +98,17 @@ object Zone "director-global" { global = true }
EOF
bash -c "cat > /etc/icingadb/config.yml" <<EOF
database:
dsn: icingadb@tcp(127.0.0.1:3306)/icingadb
type: mysql
host: localhost
database: icingadb
user: icingadb
password: ${ICINGADB_PASS}
redis:
host: 127.0.0.1
port: 6380
logging:
level: info
output: stdout
output: systemd-journald
EOF
icinga2 feature enable icingadb
#systemctl restart icinga2