Public Repository

Last pushed: a year ago
Short Description
php7, nginx container
Full Description

1) Create some folders to mount docker:
mkdir -p /data/postgres
mkdir -p /data/www/enigma

2) Run docker postgres 9.5
docker run -d -it --name postgres-9.5 -v /data/postgres:/var/lib/postgresql/data -e POSTGRES_PASSWORD=none postgres:9.5.4

3) Run docker nginx-php7.0 and link to postgres-9.5
docker run -d -p 8080:80 --link postgres-9.5:postgres -v /data/www:/var/www --name php7.0-nginx phonghunterist/nginx-php7.0:latest

Docker Pull Command
Owner
phonghunterist