Skip to content

IsiRoca/docker-dev-env

Repository files navigation

GitHub forks GitHub issues GitHub license

DockerDevEnv

Docker Development Environment

Tools

DockerDevEnv include:

  • Apache2
  • Composer
  • Laravel
  • Memcached
  • Mongo
  • NodeJs
  • MySQL
  • NGINX
  • PHP 5.6
  • PHP 7.0
  • PHP 7.1
  • PHPMyAdmin
  • Python
  • Redis
  • Symfony
  • XDebug

Getting Started

Prerequisites

What things you need to install DockerDevEnv?

Installing

Clone this repo

git clone https://github.com/IsiRoca/docker-dev-env.git

Copy env-example

Copy env-example file.

cd docker-dev-env
cp env-example .env

Edit .env

Then edit .env file and put your own config.

For example, you can install MongoDB editing the variables to TRUE.

WORKSPACE_INSTALL_MONGO=true
PHP_FPM_INSTALL_MONGO=true

Or maybe install Python

WORKSPACE_INSTALL_PYTHON=true

Start DockerDevEnv

The next commands install DockerDevEnv.

If you only need install NGINX and MySQL, then run this command.

docker-compose up -d nginx mysql

If you prefer install NGINX, MySQL, PHPMyAdmin and Redis

docker-compose up -d nginx mysql phpmyadmin redis

Docker Containers

Show all DockerDevEnv Containers

docker ps -a

Access to Workspace Container

docker exec -ti workspace bash

Author

License

MIT License