Skip to content

jeffersonrucu/Docker_PHP_MySQL_Redis_Nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Docker with PHP, MySQL, Redis and Nginx

This setup provides a Docker-based environment for running PHP, MySQL, Redis, and Nginx.

๐Ÿš€ Getting Started

Prerequisites

Ensure you have the following tools installed on your system:

  • Docker (20.10 or newer)
  • Docker Compose (v2.0 or newer)

๐Ÿ“„ Instructions

1. Configure Environment Variables

Copy the provided .env.example file to .env and adjust the variables as needed:

cp .env.example .env

2. Build and Start the Containers

Run the following command to build and start the containers in detached mode:

docker-compose up --build -d

3. Access the Application

Web Service (Nginx): http://localhost:9000

Reference

About

This setup provides a Docker-based environment for running PHP, MySQL, Redis, and Nginx.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published