However, I did some test and it is not as easy as it seems.
I did some tests, and in the end, I always end with a “Something went wrong” error.
I did it has something to do with the database. I do not know postgresql very much and I surely did something wrong.
How should I dump the database on the docker instance (the user is postgres, the database is postgres too), and how to restore it on the new server, where the user is mastodon and the database is mastodon_production?
Then, should I run
rails db:setup and rails
Could you give more details on how to migrate a docker instance to a standalone one?