Quick learning, deubgging, playing with Codeigniter just one line of command.
Windows requires 64bit Windows 10 Pro with Hyper-V available. Please see What to know before you install for a full list of prerequisites.
macOS & Others unix just download and install on docker official site.
$ docker-compose up -d
If you already docker-compose up -d
you can just
$ docker-compose start
$ docker-compose stop
$ docker-compose down
After you create and start containers
Website: http://localhost/codeigniter
phpmyadmin: http://localhost/phpmyadmin
├── mysql
│ └── conf --- MySQL config
├── nginx
│ ├── conf --- Nginx configuration folder
│ ├── log --- Nginx logs folder
│ └── site --- Store our sites, php scripts
└── phpfpm
└── conf
├── cli --- Php-cli config folder
└── fpm --- Php-fpm config folder
Containers are talking each other by using container's name, for example if I want to connect phpMyAdmin to sql I just using MySQL container name lemp-mysql
I was built this project from scratch for a practice with docker and thanks his stureture and idea from nuuneoi https://github.com/nuuneoi/lemp-docker-starter-kit