Skip to content

A scaffold package of DAMP - Docker Apache (httpd) MySQL PHP

License

Notifications You must be signed in to change notification settings

johirpro/docker_apache_php_mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Apache (httpd) MySQL PHP

Master branch is containing Apache (httpd), MySQL, PHP, Composer, PHPMyAdmin, and Adminer.

For Additional container please browse to specific branches

How to Use

  1. cd <to the roor directory>
  2. Rename the 'example.env' file to '.env' file and change any required configuration like DB Name, Username, Password etc
  3. Run command: > docker-compose build
  4. Run command: > docker-compose up
  5. From browser: browse '127.0.0.1'
  6. For PHPMyAdmin: browse '127.0.0.1:8080' or For Adminer: browse '127.0.0.1:8081'
  7. For composer run command: > docker-compose run composer

Useful Apache (httpd) images

Example

FROM httpd:2.4.51

Useful PHP images

Example

FROM php:7.4-fpm

Useful MySQL images

Example

FROM mysql:5.7.40-fpm

About

A scaffold package of DAMP - Docker Apache (httpd) MySQL PHP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published