GithubHelp home page GithubHelp logo

willyw2k / laravel-dockerizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from transprime-research/laravel-dockerizer

0.0 1.0 0.0 15 KB

Dockerize your Laravel codebase (for local development) with just two command(s)

License: MIT License

Dockerfile 63.10% Shell 36.90%

laravel-dockerizer's Introduction

About Laravel Dockerizer

You want to use docker and add it into your laravel project immediately? Add, yes add docker to your Laravel. And simply continue your development.

First install

  • Clone the repository into your project

    SSH: git clone [email protected]:transprime-research/laravel-dockerizer.git

    HTTP: git clone https://github.com/transprime-research/laravel-dockerizer.git

  • Cd into laravel-dockerizer directory, and run the bash file setup.sh using any bash command that fits your os

Common ones are

  • bash setup.sh
  • sh setup.sh
  • ./setup.sh # This usually require execution permission

After this docker-compose.yml, Dockerfile, and dockerizer.sh should already be moved to your project's directory.

Then cd .. (back) into your project, and run bash command against dockerizer.sh e.g sh dockerizer.sh.

After that go to localhost:8070

Feel free to delete laravel-dockerizer directory or leave it ;)

Pro Hint:

  • You can also now run docker-compose build and docker-compose up -d but dockerizer.sh already packaged these commands for you.

  • You can also edit these files also and change the configurations.

Helpful links

Please refer to Docker Documenation at: https://docs.docker.com/

Extra resource: https://www.howtoforge.com/dockerizing-laravel-with-nginx-mysql-and-docker-compose/

laravel-dockerizer's People

Contributors

omitobi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.