https://github.com/azshurith/dockerized-laravel-environment-artisan
This repository contains a Docker environment for Laravel applications utilizing Artisan for streamlined development and deployment.
https://github.com/azshurith/dockerized-laravel-environment-artisan
artisan docker docker-compose laravel php vite
Last synced: 3 months ago
JSON representation
This repository contains a Docker environment for Laravel applications utilizing Artisan for streamlined development and deployment.
- Host: GitHub
- URL: https://github.com/azshurith/dockerized-laravel-environment-artisan
- Owner: Azshurith
- License: gpl-3.0
- Created: 2024-01-27T04:25:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-26T00:38:36.000Z (about 2 years ago)
- Last Synced: 2025-06-01T23:11:19.485Z (about 1 year ago)
- Topics: artisan, docker, docker-compose, laravel, php, vite
- Language: PHP
- Homepage:
- Size: 92.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌟 Laravel Docker 🐋 Environment with Artisan 🌟
[](https://github.com/Azshurith/Dockerized-Laravel-Environment-Artisan/blob/main/LICENSE)
This repository contains a Docker environment for Laravel applications utilizing Artisan for streamlined development and deployment.
## 🛠️ Makefile Commands
```makefile
help Displays all available Commands
project_start Starts the Project
project_stop Stops the Project
project_destroy Deletes the Project
```
## 📝 Environment Variables (.env)
Ensure to set up your environment variables in the .env file.
```dotenv
# 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/
```
## 🚀 Getting Started
### Prerequisites 🛠️
- Docker: Install Docker on your system if you haven't already. You can download it [here](https://www.docker.com/get-started).
### Installation 📦
1. Copy the `.env.sample` and setup the variables thru executing `cp .env.sample .env`.
2. Start the docker project thru executing the command `make project_start`.
3. Download laravel project thru executing the command `make project_create`.
4. Shutdown docker thru running `make project_stop`.
5. Start docker thru running `make project_start`.
6. Access your Laravel application at http://localhost:8000.
## Contributing 🤝
Contributions are welcome! If you'd like to contribute to this project, please follow the [Contributing Guidelines](CONTRIBUTING.md).
## License 📝
This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the [LICENSE](LICENSE) file for details.
## Acknowledgments 🙏
Special thanks to the open-source community for their valuable contributions and inspiration.
## Contact 📧
For questions or feedback, please feel free to reach out:
- GitHub: [Devitrax](https://github.com/Azshurith)
Made with ❤️ by Devitrax