Archived
WordPress Docker Setup
This repository provides a Dockerized environment for running WordPress locally using Docker Compose. It's designed for quick development and testing without complex installations.
🚀 Quick Start
-
Clone the repository:
git clone https://git.1337.berkeley.edu/Committee/Secure-OCF-Web-Hosting.git cd Secure-OCF-Web-Hosting/WordPress-Docker -
Build and start the containers:
docker-compose up -d -
Access WordPress:
Open your browser and navigate to:
http://localhost:8080Follow the on-screen instructions to complete the WordPress setup.
🛠️ Project Structure
docker-compose.yml: Defines the services, networks, and volumes for the WordPress and MySQL containers.Dockerfile: Customizes the WordPress image (if applicable).
⚙️ Managing Containers
-
Start containers:
docker-compose start -
Stop containers:
docker-compose stop -
Stop and remove containers:
docker-compose downAdd the
-vflag to also remove volumes:docker-compose down -v
🔐 Accessing phpMyAdmin
If phpMyAdmin is included in your setup:
-
Open your browser and navigate to:
http://localhost:8081