Wordpress Docker Setup
Table of Contents
Description
This is a README description of a Docker-based Wordpress website.
Prerequisites
- Docker
- Docker Compose
Quickstart
- Clone the following Github Repository:
git clone git@github.com:HerzogElias/Wordpress_Docker.git
- Navigate to the correct directory:
cd /Wordpress_Docker
- Copy your env file:
cp example.env .env
- Run your Docker image with Docker Compose:
docker compose up --build
- Navigate to your Wordpress site in your browser:
<your-ip:8080>
Usage
Login to Admin Panel
- Navigate to your Wordpress Admin Panel:
<your-ip:8080/admin>
- Login to the Admin Panel. In your Docker Compose file you can find login data:
- WORDPRESS_USERNAME
- WORDPRESS_PASSWORD
- WORDPRESS_EMAIL
Stop Container
You can stop the container with the following command:
docker compose down
Start Container in Detach Mode
To start the container in detach mode use the following command:
docker compose up -d