Strapi app with MongoDB powered by docker-compose.
Currently, Strapi latest release is v4 which does not support MongoDB. Meanwhile, this project is meant for Strapi v3.6.8.
You should have docker and docker-compose installed on your computer.
- Clone this repository :
git clone https://github.com/kevinadhiguna/strapi-mongo-docker
- Create
.env
file :
cp .env.example .env
Then please fill the .env
file.
- Run your app with
docker-compose
(in detached mode, you will not be seeing logs of your app) :
docker-compose -f strapi-mongo.yml up -d
If you want to see the logs while running your app, run it with :
docker-compose -f strapi-mongo.yml up
You can visit your app at http://localhost:1337
in your browser.
Please feel free to have a look at :
Thank you, have a nice day!