isntw/laravel-docker

Simple Laravel Docker Project

1.0.1 2021-03-15 18:15 UTC

This package is auto-updated.

Last update: 2024-09-29 06:20:18 UTC


README

Laravel Docker Traefik reverse-proxy

Steps to install

  1. install repo
     composer require isntw/laravel-docker
    
  2. publish repo
     php artisan vendor:publish --tag=laravel-docker
    
  3. create docker network
     docker network create web
    
  4. 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