Strapi app with MySQL powered by docker-compose.
You should have docker and docker-compose installed on your computer.
- Clone this repository :
git clone https://github.com/kevinadhiguna/strapi-mysql-docker- Create
.envfile :
cp .env.example .envThen 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-mysql.yml up -dIf you want to see the logs while running your app, run it with :
docker-compose -f strapi-mysql.yml upYou 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!
