Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.34 KB

readme.md

File metadata and controls

48 lines (37 loc) · 1.34 KB

Getting Started

You can use Docker Compose to easily run WordPress in an isolated environment built with Docker containers. This quick-start guide demonstrates how to use Compose to set up and run WordPress. Before starting, make sure you have Compose installed.

Instalation

  1. Create directory where you want to clone repository
mkdir yourproject && cd yourproject
  1. Clone the repo on directory
git clone https://github.com/kutia-software-company/wordpress-with-docker.git .
  1. Copy from environment example to environment
cp .env.example .env
  1. Run docker compose
docker-compose up -d --build

open in browser:

http://locahost:8000

Inside src folder you can see wordpress contents here you can work your plugin or theme

Select Language

Setup

if you want to access in phpmyadmin:

http://localhost:8181/

username: wordpress
password: wordpress

you can change all information in .env file

Shutdown and cleanup

The command docker-compose down removes the containers and default network, but preserves your WordPress database.

The command docker-compose down --volumes removes the containers, default network, and the WordPress database.