Coder Social home page Coder Social logo

lemp's Introduction

Linux, Nginx, PHP-FPM, MariaDB

A light Docker based sandbox image for PHP web development that is based on a Ubuntu 14.04 OS.

Docker logo

This image with comes built with nginx, PHP-FPM, Drush, MySQL.

Getting Started

  1. Install docker, as explained here: https://docs.docker.com/engine/installation/
  2. Clone this repo locally and go the cloned folder.
  3. Run the following command for initializing the configuration:
$ docker-compose build
$ docker-compose up -d

Add the following lines to your local hosts file in order for your computer to recognize the docker hosts.

127.0.0.1 drupal8.docker wordpress.docker db database

Add a Drupal8 or Wordpress site to the sites/ directory and you're done. You can visit the site at either http://drupal8.docker:8088/ or http://wordpress.docker:8088/

Here goes terminus command to add a site. Database credentials are:

host: db
user: root
password: root
port: 3306

One liner install

curl -O https://gist.githubusercontent.com/alexdicianu/350b5db4e78573793673b90711cb7398/raw/74347335b24af503f6a2b901c4dd46edbe980138/install.sh && chmod +x install.sh && ./install.sh

lemp's People

Contributors

alexdicianu avatar

Watchers

 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.