/docker-php-nginx-postgres-pga-redis-compose

Docker Compose configuration to run PHP 7.2 with Nginx, PHP-FPM, Composer, Supervisord, PostgreSQL 10, Redis, and pgAdmin4

MIT LicenseMIT

docker-php-nginx-postgres-pga-redis-compose

Docker Compose configuration to run PHP 7.2 with Nginx, PHP-FPM, Composer, Supervisord, PostgreSQL 10, Redis, and pgAdmin4

Install prerequisites

You will need:

How to use it

Checkout the repository or download the sources.

Simply run following commands:

cp .env.example .env (at the first launch)

docker-compose up

And you are done.

Nginx will be available on localhost:80 and pgAdmin4 on localhost:8080

pgAdmin default credentials:

email: richard@example.com

password: secret

Windows

Use external docker volume in Windows (see docker-compose.yml)

Create volume:

docker volume create postgres_persistence

Documentation for used docker images:

Contribution

Pull requests are always welcome :)

See also