Strapi app with MariaDB 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-mariadb-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-mariadb.yml up -d
If you want to see the logs while running your app, run it with :
docker-compose -f strapi-mariadb.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!