Coder Social home page Coder Social logo

laravel-docker's Introduction

Header

Intro

This repo contains the source of PHP development environment for Docker.

  • Ubuntu 18.04
  • MySQL 8.x
  • PHP 7.3.x
  • Redis 5.0.x
  • Docker compose file

Install

Config

  • Copy .env.dist.env
  • Set path to website in .envWWW_PATH

Start

  • docker-compose up

MySQL

  • MySQL host: mysql (127.0.0.1 from host)
  • MySQL user: laravel
  • MySQL password: laravel

and

  • MySQL root user: root
  • MySQL root password: root

Commands

  • Show images docker ps
  • Execute commanddocker-compose exec php php /code/artisan (3rd arg → container name (php, nginx etc...))

Default directories

  • Sources: ./www//code
  • Database: ./database
  • Logs: ./docker/logs/mysql, ./docker/logs/nginx

screenshot

laravel-docker's People

Contributors

uonick avatar

Stargazers

Anna S. avatar

Watchers

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