A docker-compose file for getting Strapi up and running with MariaDB/MySQL.
- Download this repository as a ZIP or clone it
git clone https://github.com/shahinrostami/strapi-docker.git; - Change into the directory
cd strapi-docker; - Open
docker-compose.ymlin your editor and substituteC:/srv/with a directory on your host machine. This must be shared with Docker (check Docker preferences, especially on Windows); - Create the database and application containers using
docker-compose up -d.