Giter Club home page Giter Club logo

docker-caddy-wordpress's Introduction

Docker Caddy Wordpress

An "all-in-one" multi-container Dockerised deployment of Wordpress & the Caddy webserver (including a local SCP/SFTP user) for rapid deployment on your webhost (such as AWS & Amazon Linux)


Steps to get started:

Get up and running on your favourite webhost... (If you're not sure where to start, try "Amazon Linux" on AWS EC2 - At less than $4.00 Per month you can't go wrong!)

You will need the following prerequisites:

  • SSH (Root credentials) access to your Server/VPS
  • DNS/Domain already configured to point to IP of your Server/VPS

Setting up & configuring:

Once running clone clone down the project repo and set your site/domain name like so:

# Switch to root user if you're not running as root
sudo -s

# Pull down sources
cd /opt
git clone https://github.com/ned-kelly/docker-caddy-wordpress.git wordpress

# Edit config/Caddyfile and replace '<YOUR-SITE-NAME>',
# with the DNS site-name that you've already configured i.e. www.yoursite.com

vi config/Caddyfile

# Run the install script that will setup the deployment & your SCP/SFTP user.
./setup.sh

Uploading files to wordpress

  • Once you've got the container running you may go to https://yoursite.com/ and follow the prompts for the wordpress setup.
  • You will want to upload files to your server also -- you can do this using a SCP/SFTP client such as Filezilla.
    • Use the wordpress user to login to the server
    • The SSH KEY that you will need to connect as the wordpress user will be echoed to your output in the setup steps - Make sure you note it down!
    • The default directory you should save your files that will be accessible from within the Docker container can be found in: /opt/wordpress/www/

docker-caddy-wordpress's People

Contributors

ned-kelly 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.