GithubHelp home page GithubHelp logo

docker-php-example's Introduction

Example of a containerised PHP app with mutagen.io transport layer

Mutagen allows us speedy volume sync in dev environment. Read more here.

Usage

Simply run ./deploy_dev.sh or ./deploy_prod.sh. Visit http://localhost:8080.

Mutagen Install

Of course, for dev you will need to have mutagen installed first. On macOS it looks like this: brew install mutagen-io/mutagen/mutagen Of course, you'd best follow installation steps on their website.

docker-php-example's People

Contributors

markomitranic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-php-example's Issues

Question why upping/building twice (in beforeCreate and afterCreate steps)

Hi there, found this repo and I'm new to Mutagen to speed up Docker for Mac. I love it so far! Thanks for your awesome article about docker performance!

I was wondering why you up and build the container in both beforeCreate and afterCreate step? Isn't it enough to do it once in beforeCreate?

beforeCreate:
- docker-compose -f docker-compose.yml -f docker-compose-dev.yml up --build --detach
# Set up the main services after creating sessions. At this point, sessions will
# have been established and code pushed to the shared volume.
# After this is done, we can start up the deployment scripts.
afterCreate:
- docker-compose -f docker-compose.yml -f docker-compose-dev.yml up --build --detach

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.