Docker or ubuntu (virtual machine)?

Hello!
So far I have tried invoice ninja on Synology ds1621+ in docker, it is a test version. The program met my expectations (it is great!) and now I want to create a production version for many years.

I wonder what will be a better solution.

I can stay on docker or create a virtual machine with ubuntu and put invoice ninja there.

Which solution will be better, safer, easier to maintain and make copies?

Thank you in advance for your suggestions.

I apologize for my English :slight_smile:

Hi,

Either approach should be fine, I suggest using what you’re comfortable with.

If you want to copy the app you can use mysqldump to backup the database, you’ll also need a copy of the .env file.

1 Like

@hillel Thank you for your quick response.

At the moment it seems to me that the virtual machine is easier to make backups through snapshots.

1 Like