Docker setup for a web application development using CodeIgniter 4 on PHP 8.2
10K+


This repository contains the Docker setup for a web application development using CodeIgniter 4 on PHP 8.2 with Apache, running on Debian Bookworm.
Hesham M ALAHDAL a.k.a L.R.G
Nidhal A Brniyyah a.k.a Ezmex
Run on a Docker Container: run the container using:
# to install codeigniter 4
docker run -d --name lrgex-app -v /path/to/your/app:/var/www/html -p 8585:80 lrgex/codeigniter:4.4.3
# to install Codeigniter 4 with bootstrap v5, Node js and npm with dependencies
docker run -d --name lrgex-app -v /path/to/your/app:/var/www/html -p 8585:80 lrgex/codeigniter:latest
This command runs the Docker container and maps the container's port 80 to port 8585 on your host machine. you can use any host port like -p 80:80 .
--name is optional. you can name the container whatever you want
-v is optional. However you can directly edit you application inside the container in /var/www/html
Access the Application: Once the container is running, you can access the CodeIgniter application by visiting `http://your-ip:port.
Lrgex-Codeigniter ` included in this repository performs the following actions:
mod_rewrite..htaccess file to the container.ServerName directive in the Apache configuration.App.php and Constants.php files for CodeIgniter configuration so that you can dynamically use localhost.⭐ ${\normalsize{\textcolor{goldenrod}{\texttt{Star this project}}}}$
Watch for releases and updates.
Please ⭐ star this repository!
If you found my work useful, consider buying me a
.
Content type
Image
Digest
sha256:5d00364cf…
Size
321 MB
Last updated
almost 3 years ago
docker pull lrgex/codeigniter