A lightweight dockerized environment with NGINX, PHP-FPM,MariaDb & Phpmyadmin for Codeigniter 4 All images run with Alpine.
- Docker: https://docs.docker.com/get-docker/
- Docker Compose: https://docs.docker.com/compose/install/
- Install Docker & Docker Compose
- Clone this repository to your own folder
- Enter your folder
- Open a terminal & Run
docker-compose up -d
- Navigate to http://localhost or http://127.0.0.1 to see the phpinfo() and check your environment
- The web folder is
app/public
where you can install Codeigniter 4 or other PHP file - Navigate to http://localhost:8080 or http://127.0.0.1:8080 to phpmyadmin