Icinga / docker-icinga2

Official Icinga 2 Docker images
GNU General Public License v2.0
66 stars 30 forks source link

Check for database schema and eventually create it #5

Closed widhalmt closed 2 years ago

widhalmt commented 4 years ago

We need a way of connecting to the database, check for the current schema and decide:

So a prerequisite of the container would be to have a user who is allowed to run all .sql scripts relevant for the schema.

Al2Klimov commented 4 years ago

I opt for not creating the IDO schema as (1) having to import the schema manually once isn't something new and (2) we'd like new users to prefer Icinga DB.

So we don't make it harder for IDO users, but easier for Icinga DB users (Icinga/docker-icingadb#4).

Al2Klimov commented 4 years ago

@widhalmt Could you (and the customers) live with that?

widhalmt commented 4 years ago

From my side we can live with that. I created this ticket as part of the design decisions we had in the first meetings.