Skip to content

semin-lev/docker-devenv-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker development environment creator

Console variant of https://github.com/phpdocker-io/phpdocker.io

Installation

Download .phar archive from last release. Place it to a project dir or to /usr/local/bin.

Usage

Just call generate command with project name argument. Project name must be without spaces or special characters.

Example

docker-env-generator.phar generate test-project

Questions about your config will be asked in interactive mode. All docker configuration files will be stored at the directory and after you need just call

docker-compose up -d 

Options

  • -d, --save_dir

    A directory to save config files. The default value is dir from you call the command.

  • -z, --zip

    Create zip archive with configs

  • -n, --no-interaction

    Do not ask question and create default configuration