strapi-docker
strapi-docker copied to clipboard
A docker-compose file for getting Strapi up and running with MariaDB/MySQL.
strapi-docker
A docker-compose file for getting Strapi up and running with MariaDB/MySQL.
Instructions
- 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.yml
in 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
.