Skip to content

ZoeInMyDna-code/Ngrok-wordpress-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

Ngrok-wordpress-docker

πŸ“¦ WordPress with Docker and Ngrok Run a fully functional WordPress site locally with public access using Docker and Ngrok. This project is ideal for developers, designers, and testers who want to share their WordPress site with others remotely without deploying it to a live server.

πŸš€ Features 🐳 Docker-based setup for WordPress and MySQL

🌐 Ngrok tunnel for public HTTPS access

πŸ”„ Easily customizable for local development or demos

πŸ’Ύ Persistent database using Docker volumes

πŸ“ Project Structure bash Copy Edit . β”œβ”€β”€ docker-compose.yml β”œβ”€β”€ .env └── README.md βš™οΈ Requirements Docker & Docker Compose

Ngrok account (free or paid)

Basic knowledge of CLI

πŸ”§ Setup Instructions

  1. Clone this repository bash Copy Edit git clone https://github.com/your-username/wordpress-ngrok-docker.git cd wordpress-ngrok-docker

  2. Create a .env file (optional but recommended) env Copy Edit WORDPRESS_DB_NAME=wordpress WORDPRESS_DB_USER=wordpress WORDPRESS_DB_PASSWORD=wordpress WORDPRESS_DB_ROOT_PASSWORD=root

  3. Start WordPress and MySQL with Docker bash Copy Edit docker-compose up -d WordPress will be available at: http://localhost:8000

  4. Start Ngrok tunnel bash Copy Edit ngrok http 8000 Copy the public URL displayed by Ngrok (e.g. https://59fb-102-91-72-40.ngrok-free.app).

πŸ›  Bypass Ngrok Browser Warning (Optional) To skip the Ngrok warning page, use:

bash Copy Edit curl -H "ngrok-skip-browser-warning: any-value" https://your-ngrok-url.ngrok-free.app Note: This only applies to API tools like curl or programmatic requests. Visitors using a browser will still see the warning unless you're on a paid Ngrok plan.

🧼 To Stop Containers bash Copy Edit docker-compose down

πŸ“š License This project is open-source under the MIT License.

πŸ™Œ Credits Docker

WordPress

Ngrok

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published