Skip to content

Docker-compose with: php8, redis, nginx, mysql e phpmyadmin

License

Notifications You must be signed in to change notification settings

bumaruf/php-docker-nginx-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-compose Php8, Nginx, Redis, MySQL and PHPMyAdmin

License Nginx PHP Redis MySQL PHPMyAdmin

🚀 How to run

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

⚙️ Configuration

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

📄 License

This project is under an MIT license. See LICENSE for more details.


Developed by Otávio Bumaruf.

About

Docker-compose with: php8, redis, nginx, mysql e phpmyadmin

Topics

Resources

License

Stars

Watchers

Forks