/docker-php-mongodb

PHP project skeleton with docker

Primary LanguageShell

About

PHP project skeleton with docker.

Build

$ docker build -t ou/php-nginx-mongo .

Run

$ cp docker-compose.yml.sample docker-compose.yml
$ docker-compose up -d

How can i access to the container?

Run following command to find container ID:

$ docker ps

Then run following command with container ID:

$ docker exec -it ContainerID /bin/bash

And update composer for your project:

# cd /data/project
# composer update