Skip to content

[ABANDONED] - Integrate Docker into your Laravel development workflow, alternatively check out LaraDock: https://github.com/LaraDock/laradock

Notifications You must be signed in to change notification settings

3onyc/laravel-shipper

Repository files navigation

Laravel Shipper

Integrating Laravel, Docker and Docker-Compose

Requirements

Instructions

  1. Add to composer.json

    composer require 'x3tech/laravel-shipper' '>=0.5'
  2. Add the provider to config/app.php

    'providers' => array(
        ...
        'x3tech\LaravelShipper\Provider\ShipperProvider'
    );
  3. If using MySQL, set host to db in database.php

  4. If using beanstalkd, set host to queue in queue.php

  5. Generate the docker-compose.yml config file

    ./artisan shipper:create:all

  6. Build and start the containers

    docker-compose build && docker-compose up

  7. Wait until the containers are started, and visit http://localhost:8080

FAQ

How do I run a command on my project (Such as artisan)

docker-compose run --rm app <command>

Examples

Artisan:

docker-compose run --rm app ./artisan

PHPUnit:

docker-compose run --rm app vendor/bin/phpunit

About

[ABANDONED] - Integrate Docker into your Laravel development workflow, alternatively check out LaraDock: https://github.com/LaraDock/laradock

Resources

Stars

Watchers

Forks

Packages

No packages published