-
You must have Docker installed on your pc before you start. https://www.docker.com/products/docker-desktop
-
Copy all files to your project folder.
Download ZIP from https://github.com/KyriakosGian/Docker-Boilerplate
OR run git clone in console
git clone https://github.com/KyriakosGian/Docker-Boilerplate.git
-
Change settings in {.env} file with your preferences.
-
Run Docker compose command for docker-compose.yml
-
From command line go to project folder and run
docker-compose -f "docker-compose.yml" up -d --build
-
OR With help of Docker extension if you are using Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
-
-
That's all folks !
- Open your browser on http://localhost. for server
- Or open your browser on http://localhost/phpmyadmin/ for phpMyAdmin.
- Apache with php 8.1 version
- mysql 8.0 version
- phpMyAdmin
- You can fix some settings in php.ini file before you start server.
- .env file have default username and passwords. You must change it.