Skip to content

chandanpratik/docker-sdk-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🚀🎨 CI4 Docker SDK | Universal 🎨🚀

This script provides a funky & stylish way to manage a Dockerized CodeIgniter 4 (CI4) environment. It helps start, stop, and interact with CI4 containers effortlessly! and can be used othe php frameworks as well 🎉


🎭 Prerequisites 🎭

Ensure you have the following installed on your system: ✅ Docker 🐳
Docker Compose 📦
Bash 💻


🌟 Features 🌟

✨ Starts or restarts CI4 Docker containers automatically 🚀
✨ Stops all running containers 🛑
✨ Provides a CLI interface to interact with the CI4 application 🎤
✨ Bootstraps the project setup 🏗️


🎬 Usage 🎬

The script supports the following funky commands:

⚡ Bootstrap Project Setup ⚡

🚀 git clone https://github.com/chandanpratik/docker-sdk-ci ./docker && chmod +x ./docker/sdk

⚡ Bootstrap Project Setup ⚡

🚀 docker/sdk boot

🛠 Runs the bootstrap function to set up the CI4 project.

🎯 Start Containers 🎯

🔥 docker/sdk up

🔧 Ensures all necessary CI4 containers (ci4-php, ci4-nginx, ci4-mariadb, ci4-phpmyadmin) are running smoothly. If a container is not found, it will be built and started. The application will be accessible at your-host:8081.

🛑 Stop Containers 🛑

❌ docker/sdk down

💥 Stops and removes all running CI4 Docker containers.

🖥️ Open CI4 CLI 🖥️

💻 docker/sdk cli

🔎 Opens a shell inside the ci4-php container, allowing you to interact with the CodeIgniter 4 application using the CLI.


🎨 Additional Information 🎨

🎭 The script includes a visual banner upon execution.
🎨 It uses color-coded messages to indicate actions being performed.
🔍 It checks whether a container exists before attempting to start or restart it.


🤩 Author 🤩

Chandan Kumar 🎩 ([email protected])

🔥 Happy Coding! 🔥

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages