Skip to content

KyriakosGian/Docker-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Boilerplate Web Development Environment with Docker

Before you start

  1. You must have Docker installed on your pc before you start. https://www.docker.com/products/docker-desktop

  2. 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

  3. Change settings in {.env} file with your preferences.

  4. Run Docker compose command for docker-compose.yml

    1. From command line go to project folder and run

      docker-compose -f "docker-compose.yml" up -d --build

    2. OR With help of Docker extension if you are using Visual Studio Code.

      https://code.visualstudio.com/

      https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker

  5. That's all folks !

    1. Open your browser on http://localhost. for server
    2. Or open your browser on http://localhost/phpmyadmin/ for phpMyAdmin.

Components

Web Server with PHP

  • Apache with php 8.1 version

https://hub.docker.com/_/php

https://httpd.apache.org/

https://www.php.net/

DataBase

  • mysql 8.0 version

https://www.mysql.com/

Database Manager

  • phpMyAdmin

https://www.phpmyadmin.net/


Extras

  • You can fix some settings in php.ini file before you start server.
  • .env file have default username and passwords. You must change it.

About

Simple Boilerplate Web Development Environment with Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published