Skip to content

abhishek70/codeigniter4-docker

Repository files navigation

CodeIgniter 4

Setup

Copy env to .env and change env variables for your app, specifically the baseURL and any database settings.

Docker

Start containers

docker-compose up -d

Stops containers and removes containers

docker-compose down

Testing

docker exec -ti ci-app bash -c "php ./vendor/bin/phpunit --log-junit test-results.xml"

Documentation

  1. CodeIgniter 4
  2. Docker Compose
  3. Docker PHP APACHE
  4. Docker MySQL
  5. Composer