Docker Compose configuration to run PHP 7.2 with Nginx, PHP-FPM, Composer, Supervisord, PostgreSQL 10, Redis, and pgAdmin4
You will need:
- Docker CE
- Docker Compose
- Git (optional)
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
email: [email protected]
password: secret
Use external docker volume in Windows (see docker-compose.yml)
Create volume:
docker volume create postgres_persistence
Pull requests are always welcome :)