karlkori / docker-lamp

LAMP & Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Development flow with LAMP in docker

After running docker container, you will can edit your app in ./app folder, all changes will be immediately sync with container and app will be available at http://127.0.0.1

  • ./app - your application code
  • ./mysql - all your mysql databases
  • ./logs - all Apache logs

Install

  • install docker

    wget -qO- https://get.docker.com/ | sh
  • install docker-compose

  • place your code in ./app folder

  • build docker image

    docker-compose build
  • run docker container

    docker-compose up -d
  • open http://127.0.0.1

About

LAMP & Docker


Languages

Language:Shell 98.6%Language:PHP 1.4%