isntw / laravel-docker
Simple Laravel Docker Project
1.0.1
2021-03-15 18:15 UTC
Requires
- php: ^7.3|^8.0
- illuminate/support: ^8.0|^9.0
This package is auto-updated.
Last update: 2024-09-29 06:20:18 UTC
README
Laravel Docker Traefik reverse-proxy
Steps to install
- install repo
composer require isntw/laravel-docker
- publish repo
php artisan vendor:publish --tag=laravel-docker
- create docker network
docker network create web
- add/edit following lines in .env file
APP_NAME=example DB_CONNECTION=mysql DB_HOST=db-example DB_PORT=3306 DB_DATABASE=example DB_USERNAME=root DB_PASSWORD=root