Code Monkey home page Code Monkey logo

wordpress-quick-start's Introduction

Wordpress Docker Quick Start

The following repo is for hosting wordpress application on a ubuntu 20.04 virtual machine. I have successfully ran this script on a digital ocean droplet, but I assume this setup.sh script could be modified or used on any potential ubuntu VM host.

Instructions

  1. create a ubuntu 20.04 Digital Ocean droplet.
  2. ssh into your droplet, i.e. ssh [email protected]
  3. setup an A record which points your domain to the IP of your droplet (A blog.thewebdevjunkie.com => 127.127.127.127)
  4. clone the repo git clone https://github.com/codyseibert/wordpress-quick-start.git
  5. cd into the directory cd wordpress-quick-start
  6. modify .env to replace your secret passwords
  7. modify Caddyfile to have the domain or subdomain you expect to host your wordpress site
  8. run the setup script: ./setup.sh
  9. load up a web browser to your domain (it might take a minute to host the database, wordpress, and Caddy, so give it some time)

Credits

I followed the following documentation to figure out most of the necessary docker / caddy setup.

Useful Tips

If you make changes to your docker-compose.yml file, you may need to rebuild / restart your services using the following command

docker-compose up -d --build

wordpress-quick-start's People

Contributors

codyseibert avatar zone2186 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.