invoiceninja / dockerfiles

Docker files for Invoice Ninja
https://hub.docker.com/r/invoiceninja/invoiceninja
GNU General Public License v2.0
399 stars 263 forks source link

Built in database #502

Open ghost opened 1 year ago

ghost commented 1 year ago

Please add the function that the database is built in the invoiceninja container, if no external database is connected by envoiremental variables.

This would make the deployment much more efficient and increase security. In addition, errors that arise with the database can be minimized. (For example, if the database container starts after the invoiceninja container, and much more).

Many of the popular server applications have this built in, such as:

turbo124 commented 1 year ago

Not sure I follow, if you use the docker-compose file everything is prebundled and ready to use?

ghost commented 1 year ago

Not sure I follow, if you use the docker-compose file everything is prebundled and ready to use?

Not all server operating systems support docker compose. For example TrueNAS Scale or Synology.

lwj5 commented 1 year ago

Hi there,

I'm one of the volunteers that helped to develop the dockerfile and helm chart.

It's not that they have included it in their image. But that the app can use SQLite which can be included in the application.

You could configure IN to use SQLite. But not sure if that is compatible

@turbo124 Does such a db work?

https://laravel.com/docs/10.x/database#sqlite-configuration