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 EOF
bash -c "cat > /etc/icingadb/config.yml" <<EOF bash -c "cat > /etc/icingadb/config.yml" <<EOF
database: database:
dsn: icingadb@tcp(127.0.0.1:3306)/icingadb type: mysql
host: localhost
database: icingadb
user: icingadb
password: ${ICINGADB_PASS} password: ${ICINGADB_PASS}
redis: redis:
host: 127.0.0.1 host: 127.0.0.1
port: 6380 port: 6380
logging: logging:
level: info level: info
output: stdout output: systemd-journald
EOF EOF
icinga2 feature enable icingadb icinga2 feature enable icingadb
#systemctl restart icinga2 #systemctl restart icinga2