Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inception

The goal of this project is to set up a multi-container web environment using Docker Compose.
It consists of three essential services:

  • NGINX server (to act as a reverse proxy for the site)
  • WordPress website with PHP-FPM
  • MariaDB database to store the WordPress data.

All services are configured to communicate with each other over a single, isolated Docker network.

About Docker Hub images

Individual services must be set up based on Alpine or Debian images, using already prepared service-specific images from Docker Hub is forbidden.

Prerequisites

Before running the project, you need to have the following installed on your system:

  • Docker
  • Docker Compose
  • Make

Running

To start the application, use:

make up

To build service images without starting the application:

make build

To stop the application without removing individual containers:

make stop

If any container doesn't react to SIGTERM, use the following to force kill the application:

make kill

To stop the application with removal of individual containers:

make down

To remove all Docker images, volumes, and networks set up by this application:

make clean

To completely remove all Docker images, volumes, and networks, as well as WordPress persistent data:

make purge

About

Setting up a WordPress infrastructure with Docker Compose

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages