This repository has been archived on 2026-09-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Secure-OCF-Web-Hosting/WordPress-Docker
..
2025-10-07 00:37:53 -07:00
2025-10-07 00:37:53 -07:00
2025-10-07 00:52:07 -07:00

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

  1. Clone the repository:

    git clone https://git.1337.berkeley.edu/Committee/Secure-OCF-Web-Hosting.git
    cd Secure-OCF-Web-Hosting/WordPress-Docker
    
  2. Build and start the containers:

    docker-compose up -d
    
  3. Access WordPress:

    Open your browser and navigate to:

    http://localhost:8080
    

    Follow 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 down
    

    Add the -v flag 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