Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Basic Laravel setup with Docker - MySQL, PHPMyAdmin, NGINX, Composer, Voyager admin

NotificationsYou must be signed in to change notification settings

codebygina/docker-laravel-starter

Repository files navigation

Basic Laravel setup with Docker:

  • MySQL
  • PHPMyAdmin
  • NGINX
  • Composer
  • Voyager Admin

1. Clone this repository

git clone https://github.com/wowthemesnet/docker-laravel-starter.git

2. Navigate in project directory

cd docker-laravel-starter

3. Composer install

On Linux/MacOS:docker run --rm -v $(pwd):/app composer install
On Windows in PowerShell:docker run --rm -v ${PWD}:/app composer install
On Windows in CMD:docker run --rm -v %cd%:/app composer install

4. Create .env file

cp .env.example .env

5. Start everything

docker-compose up

6. Generate key for Laravel application

docker-compose exec app php artisan key:generate

7. Access

Enter onhttp://localhost

Useful Tasks

8. Install Voyager Admin

  • run the following to install Voyager Admin:

    On Linux/MacOS:docker run --rm -v $(pwd):/app composer require tcg/voyager
    On Windows in PowerShell:docker run --rm -v ${PWD}:/app composer require tcg/voyager
    On Windows in CMD:docker run --rm -v %cd%:/app composer require tcg/voyager

  • docker-compose exec app php artisan voyager:install --with-dummy

  • docker-compose exec app php artisan vendor:publish --provider="TCG\Voyager\VoyagerServiceProvider"

  • docker-compose exec app php artisan vendor:publish --provider="Intervention\Image\ImageServiceProviderLaravel5"

  • Access Voyager account:http://localhost/admin

    User:admin@admin.comPass: password

Credits


About

Basic Laravel setup with Docker - MySQL, PHPMyAdmin, NGINX, Composer, Voyager admin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

    Packages

    No packages published

    Languages


    [8]ページ先頭

    ©2009-2025 Movatter.jp