Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published