/luminod

Primary LanguageDockerfile

luminod

Docker + Lumen with Nginx, MySQL, and Memcached

image


Docker Setup


Build & Run

git clone https://github.com/tjphippen/luminod && cd luminod && bash create.sh

Have a beer! 🍺

Navigate to http://localhost:80 and you should see something like this image

Success! You can now start developing your Lumen app on your host machine and you should see your changes on refresh! Classic PHP development cycle. A good place to start is images/php/app/routes/web.php.

Feel free to configure the default port 80 in docker-compose.yml to whatever you like.

Stop Everything

docker-compose down

Start Everything

docker-compose up --build -d

Running Artisan commands

docker-compose exec php sh
# inside the container
cd ..
php artisan migrate
php artisan cache:clear

Contribute

  • Submit a Pull Request!
  • Buy me a 🍺
    • ETH: 0xe3b5b9db175d5988ac22e47979fdb639686069df
    • Paypal: paypal@tjphippen.com

Dev To-Do:

  1. bash prompts for .env vars(passwords)
  2. generate app Key
  3. Add Vue App container
  4. Add SSL Cert
  5. Add rabbitmq container
  6. Add bind container

Thanks To

https://github.com/saada/docker-lumen