Clone the repository in your computer.
$ git clone https://github.com/bumaruf/php-docker-nginx-redis
$ cd php-docker-nginx-redis
Run docker-compose file
$ docker-compose up -d
Don't forget to configure the environment variables file so that the project works correctly.
Duplicate the file .env.example
changing name to .env
and then fill the variables.
$ cp .env.example .env
Example config
# Redis configuration
REDIS_PORT=6379
REDIS_PASSWORD=difficultpassword
# PostgreSQL configuration
POSTGRESQL_USER=root
POSTGRESQL_PASSWORD=difficultpassword
POSTGRESQL_DATABASE=default_db
# Mysql configuration
MYSQL_USER=test
MYSQL_DATABASE=database
MYSQL_PASSWORD=difficultpassword
This project is under an MIT license. See LICENSE for more details.
Developed by Otávio Bumaruf.