Giter VIP home page Giter VIP logo

gke-wordpress's Introduction

GKE WordPress with Google Cloud SQL

Deploy WordPress sites to Google Kubernetes Engine (GKE) clusters via Helm charts. Use as your own personal WordPress farm or as a backend to your own cloud hosting company.

Donate

GKE WordPress supports/requires:

Installation and Usage

See Installation and Usage for instructions on getting up and running. Visit USAGE.md.

How It Works

  • WordPress

    • Each WordPress application server image is based on the wordpress:php7.2-fpm docker image with redis extension.
    • Each WordPress Deployment gets it's own PersistentVolume as well as Secret objects for storing sensitive information such as passwords for their DBs.
    • ConfigMaps are used to inject various php.ini settings for PHP 7.2.
  • NGINX

    • Each NGINX web server image is based on the official Nginx docker image, and comes with:
    • NBS System's NAXSI module. NAXSI means NGINX Anti-XSS & SQL Injection.
    • Handy configurations for NGINX and the NAXSI web application firewall are also included via ConfigMaps.
    • The NGINX container has multiple handy configurations for multi-site and caching, all easily deployed using ConfigMap objects.
  • Cloud SQL

    • The WordPress sites all interface with one Google Cloud SQL instance, so anyone can start off with a full-fledged web farm and bring up any number of websites using a single Cloud SQL server instance and a separate database for each site.
  • Redis

    • To reduce DB hits, the WP image is built with a redis PHP extension that connects to a cluster-wide Redis Deployment. WP must be configured to use Redis upon initializing a new WP site by installing and configuring the WP Redis Object Cache plugin.
  • Ingress/Kube Lego

    • Websites are reached externally via an nginx-ingress controller. See Kubernetes documentation regarding Ingress in the official docs and on GitHub.
    • TLS/SSL is terminated at nginx-ingress via free Let's Encrypt certificates, good for all domains on your cluster. Additionally, certificate issuance is handled automatically with the kube-lego.

GKE WordPress

Acknowledgements

This project was inspired by and based on daxio/k8s-lemp and builds on it with the various other official Docker images and Kubernetes applications mentioned previously.

Donate

Donate

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.