Skip to content

Phymyadmin, nginx, php-fpm, mariadb setup for php development.

Notifications You must be signed in to change notification settings

paultofunmi/lemp-starter-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-PHP7

A quick and easy way to setup your PHP application using Docker and docker-compose. This will setup a developement environment with PHP7-fpm, MariaDB, Phpmyadmin and Nginx.

Usage

git clone https://github.com/paultofunmi/lemp-starter-docker.git
cd lemp-starter-docker
docker-compose up

Ports Information

Phpmyadmin: 8081
nginx: 8080
mariadb: 3306

Structure

├── app
│   └── public
│       └── index.php
├── docker-compose.yml
├── storage
│   ├── database
│   └── logs
│        └── access.log
│        └── error.log
├── fpm
│   ├── Dockerfile
│   └── supervisord.conf
├── nginx
│   ├── Dockerfile
│   └── default.conf
  • app is the directory for project files. Our Nginx config is pointing to app/public, which can be changed in nginx/default.conf
  • database is where MariDB will store the database files.

Credits

shameerc @shameerc

About

Phymyadmin, nginx, php-fpm, mariadb setup for php development.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages