Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 810 Bytes

File metadata and controls

27 lines (18 loc) · 810 Bytes

Create develop environment by Docker

Create environment for develop on local.

Run following command in your terminals.
  docker-compose up -d

Nginx container

This is basically Dockerfile from official repository.
Volume mounted form nginx && www/html for config and index.
You can access to http://localhost:80 default. If you wanna change URL, should be change nginx/nginx.conf by yourself please.

PHP container

Pull official image php:7.2-fpm and injection inifile.

MySQL DB container

It's pulled by official.
Default mountpoint is mysql/date in this directory.
If you wanna change that refactor volume section on docker-compose.yml

MySQL GUI container

phpMyAdmin is MySQL GUI tools.
Maybe you don't need, should be commentout.