Code Monkey home page Code Monkey logo

laradock-build's Introduction

Laradock Build

Docker builder & running script for Laradock.

Build Status GitHub issues GitHub forks GitHub stars GitHub license

Configuration Environment

  • Change .env.example file to .env for Docker environment configuration

Setup Docker Builder Script

  • Change docker build & running environment in docker-build.sh file
    • ENV="0" # (0 = development, 1 = production)
  • Setup for containers
    • CONTAINER_PRODUCTION="consul portainer ..." # (see docker-build.sh for available containers)
    • CONTAINER_DEVELOPMENT="consul portainer" # (using only 2 containers)
  • Setup cache containers
    • REMOVE_CACHE="0" # (0 = using cache (default), 1 = no-cache)
  • Setup recreate containers every running docker-compose
    • RECREATE_CONTAINER="0" # (0 = disable recreate container, 1 = force recreate container)
  • Setup running build containers or not.
    • SKIP_BUILD="0" # (0 = with build process (default), 1 = bypass build process)
  • Setup running background (daemon mode)
    • DAEMON_MODE="0" # (0 = disable daemon mode, 1 = running daemon mode / background)

Running Laradock Builder

You can run the command / terminal using bash to run docker

make docker-run       # or
./docker-build.sh

Remove Container

Remove container including volume & network

make docker-down

laradock-build's People

Contributors

zeroc0d3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.