Build a simple CodeIgniter development environment with docker-compose. CodeIgniter version of docker-laravel-apache.
$ git clone git@github.com:kenjis/docker-codeigniter-apache.git
$ cd docker-codeigniter-apache
$ make create-project # Install the latest CodeIgniter4 project
$ make install-recommend-packages # Not required
Read this Makefile.
├── web
├── db
└── phpmyadmin
- Base image
- mysql: 8.0
- Base image
- phpmyadmin/phpmyadmin: 5.0.4
By default, the named volume is mounted, so MySQL data remains even if the container is destroyed. If you want to delete MySQL data intentionally, execute the following command.
$ docker-compose down -v && docker-compose up