Skip to content

itised/docker-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To Install:

  1. Add repository to composer.json:
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/itised/docker-env.git"
    }
]
  1. Require docker-env in composer.json
"require-dev": {
    "itised/docker-env": "dev-master"
}
  1. Run ./vendor/bin/install-docker-env from project root to copy files and ensure the proper .env fields exist

  2. Set the .env values:

COMPOSE_PROJECT_NAME : The name docker will use for the containers

DC_HOST_PORT : The port on the host machine that will be mapped to port 80 in the nginx container

DC_SITE : The path to the root of your project on your host machine

  1. Run docker-composer up from the project root to spin everything up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages