This repository contains a Docker environment for Laravel applications utilizing Artisan for streamlined development and deployment.
help Displays all available Commands
project_start Starts the Project
project_stop Stops the Project
project_destroy Deletes the Project
Ensure to set up your environment variables in the .env file.
# Docker Configuration
PROJECT_NAME=
PROJECT_VERSION=1.0
PROJECT_REPOSITORY=
# Php Configurations
PHP_DOCKERFILE=.docker/Php/
# Database Configurations
MARIADB_CONNECTION=mysql
MARIADB_HOST=host.docker.internal
MARIADB_PORT=3306
MARIADB_DATABASE=Laravel
MARIADB_USERNAME=laravel
MARIADB_PASSWORD=laravel
MARIADB_DOCKERFILE=.docker/MariaDB/
# PhpMyAdmin Configurations
PHPMYADMIN_DOCKERFILE=.docker/PhpMyAdmin/
- Docker: Install Docker on your system if you haven't already. You can download it here.
- Copy the
.env.sample
and setup the variables thru executingcp .env.sample .env
. - Start the docker project thru executing the command
make project_start
. - Download laravel project thru executing the command
make project_create
. - Shutdown docker thru running
make project_stop
. - Start docker thru running
make project_start
. - Access your Laravel application at http://localhost:8000.
Contributions are welcome! If you'd like to contribute to this project, please follow the Contributing Guidelines.
This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the LICENSE file for details.
Special thanks to the open-source community for their valuable contributions and inspiration.
For questions or feedback, please feel free to reach out:
- GitHub: Devitrax
Made with ❤️ by Devitrax