SkillAgentSearch skills...

Codeigniter

Docker setup for a web application development using CodeIgniter 4 on PHP 8.2 with Apache, running on Debian Bookworm.

Install / Use

/learn @LRGEX/Codeigniter
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <img src="https://download.lrgex.com/Dark%20Full%20Logo.png" alt="Logo" width="400" height="100"> </p> <p align="center"><img src="https://download.lrgex.com/ci.png" alt= “” width="150" height="150"></p>

<div align="center">LRGEX-CodeIgniter</div>

This repository contains the Docker setup for a web application development using CodeIgniter 4 on PHP 8.2 with Apache, running on Debian Bookworm.

Developers :

  • Hesham M ALAHDAL a.k.a L.R.G

  • Nidhal A Brniyyah a.k.a Ezmex

Prerequisites

  • Docker installed on your machine.
  • Basic knowledge of Docker commands.

Setup

  1. 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

  2. Access the Application: Once the container is running, you can access the CodeIgniter application by visiting `http://your-ip:port.

LRGEX-Codeigniter Details

Lrgex-Codeigniter ` included in this repository performs the following actions:

  • Uses PHP 8.2 with Apache on Debian Bookworm as the base image.
  • Installs necessary system dependencies and PHP extensions.
  • Enables Apache's mod_rewrite.
  • Installs Composer globally and uses it to install CodeIgniter 4.
  • Sets up the working directory and moves the CodeIgniter files to it.
  • Copies the Apache configuration and .htaccess file to the container.
  • Sets appropriate permissions for the Apache document root.
  • Exposes port 80 for web access.
  • Sets the ServerName directive in the Apache configuration.
  • Modifies the App.php and Constants.php files for CodeIgniter configuration so that you can dynamically use localhost.
  • Uses an entrypoint script to start the Apache server.
  • Prepackaged with node.js npm and Bootstrap 5.

Stay Up-to-Date

⭐ ${\normalsize{\textcolor{goldenrod}{\texttt{Star this project}}}}$

Watch for releases and updates.

<img src="https://download.lrgex.com/assets/images/givestar.gif" width="500" alt='github star'/>

Support Me

Please ⭐ star this repository!

If you found my work useful, consider buying me a <img src="https://download.lrgex.com/assets/images/coffee.png" height="20" alt='Ko-fi'/>.

Troubleshooting

  • If you encounter any issues while accessing the application, ensure the Docker container is running and your port in example case 8585 is not being used by another process.
  • you can check the containers logs, for further investigations.
View on GitHub
GitHub Stars10
CategoryDevelopment
Updated4mo ago
Forks0

Languages

CSS

Security Score

77/100

Audited on Nov 30, 2025

No findings