A template repository for the new Docker Magento setup.
This repository has been archived on 2025-07-27. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2025-02-25 13:39:20 +00:00
bin fix: remove s3 empty config and add nginx persistance 2025-02-25 13:39:20 +00:00
dockerfiles fix: remove s3 empty config and add nginx persistance 2025-02-25 13:39:20 +00:00
docs feat: update dockerfiles and add a docs readme 2025-02-12 11:04:09 +00:00
env fix: remove s3 empty config and add nginx persistance 2025-02-25 13:39:20 +00:00
lib fix: remove s3 empty config and add nginx persistance 2025-02-25 13:39:20 +00:00
nginx fix: remove s3 empty config and add nginx persistance 2025-02-25 13:39:20 +00:00
.dockerignore feat: update .dockerignore with .gitignore 2025-02-05 13:44:50 +00:00
.gitattributes feat: update bin/local and running locally guide 2025-02-12 10:58:18 +00:00
.gitignore fix: update php env, .gitignore, and others 2025-02-18 12:48:26 +00:00
compose.yaml fix: remove s3 empty config and add nginx persistance 2025-02-25 13:39:20 +00:00
README.md fix: remove 'demystifydigital' from container names 2025-01-30 09:48:26 +00:00
version fix: remove s3 empty config and add nginx persistance 2025-02-25 13:39:20 +00:00

Template

A starting point for creating new Magento 2 sites using Docker and Coolify.

Hosting / Getting Started

Check the documentation repo for more information on how to setup a new site, migrate one to the new setup, and more.

Local Development

MariaDB Dumping and Restoration

Dumping

You can connect to the database using DBeaver or SSHing to the machine.

Restoring

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-db mariadb -uroot -pmagento magento --skip-ssl < dump.sql