This project is a Laravel application containerized with Docker, using PHP 8.2, MySQL, and phpMyAdmin.
Ensure you have the following installed on your system:
- Docker & Docker Compose
- Git
git clone https://github.com/walidhmri/dockerise.git
cd dockeriseCopy the example environment file and configure it if needed:
cp .env.example .envModify .env with your database credentials and application settings if you modified any of them.
note: -d to run in background
docker-compose up --build -d This will start:
- Laravel application (PHP 8.2)
- MySQL database
- phpMyAdmin
- Laravel API/UI: http://localhost:8000
- phpMyAdmin: http://localhost:9000 (Host:
mysql, User:root, Password:root), (Host:mysql, User:user, Password:password)
To stop containers:
docker-compose downTo remove all containers, networks, and volumes:
docker-compose down -vemail:
user@walidhmri.io
password
password
Feel free to fork the repository and submit pull requests.
free to use.
contact at :
oualidhamri@icloud.com
or :
oualid.hamri@univ-bouira.dz
Enjoy