Public Repository

Last pushed: a year ago
Short Description
Install container Global
Full Description
  • Nginx v1.10
  • PHP v7.0
  • NVM, Rbenv, Composer

Create folder volumes
mkdir -p /project/data/database_name
mkdir -p /project/www/project_name

Create container database:
docker run --name dbPostgres -v /project/data/database_name/:/var/lib/postgresql/data -e POSTGRES_PASSWORD= mysecretpassword -p 5432:5432 -d postgres

Create container source with link database
docker run --name project_name -v /project/www/project_name:/var/www/html --link dbPostgres:postgres -p 80:80 -it docker pull dangchison/global

Docker Pull Command
Owner
dangchison