A starting point for creating new Magento 2 sites using Docker and Coolify.
Check the documentation repo for more information on how to setup a new site, migrate one to the new setup, and more.
You can connect to the database using DBeaver or SSHing to the machine.
Copy your dump .sql file to the root of the project and make sure its named ./dump.sql
, then you can run the following command to restore the database:
Note
This only works on UNIX based systems. If you are on windows, use WSL.
sudo docker exec -i sub-domain-demystifydigital-db mariadb -uroot -pmagento magento --skip-ssl < dump.sql