Coder Social home page Coder Social logo

lingz / docker-wordpress-hhvm-php-fpm-fallback Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 5.0 167 KB

Docker Container with Nginx + Wordpress + HHVM with PHP-FPM fallback for when hhvm crashes.

License: MIT License

Shell 6.92% PHP 21.94% Python 71.14%

docker-wordpress-hhvm-php-fpm-fallback's Introduction

Docker Container running Wordpress + HHVM + Nginx with PHP-FPM fallback

##How to use

First make sure wordpress is loaded.

git submodule init && git submodule update

Then build the container

./build.sh

To start the server just use

PORT=80 DB_HOST="my_wp_host" DB_NAME=wp_test DB_USER=wp_user DB_PASSWORD=wp_pass ./start.sh 

To boot this into an interactive shell you can use

PORT=80 DB_HOST="my_wp_host" DB_NAME=wp_test DB_USER=wp_user DB_PASSWORD=wp_pass ./interactive.sh

As this container does not contain mysql, you need to set one up separately. You can use a hosted solution or the following docker image works also:

https://github.com/tutumcloud/tutum-docker-mysql

##Notes

  • PHP 5.6
  • Does not come with mysql.
  • Environment variables are enabled in PHP-FPM (to be consistent with HHVM)

##References

Based on: https://github.com/philipz/docker-nginx-hhvm-wordpress

  1. https://github.com/CenturyLinkLabs/ctlc-docker-wordpress
  2. https://github.com/nikolaplejic/docker.hhvm
  3. https://github.com/eugeneware/docker-wordpress-nginx
  4. https://github.com/tutumcloud/tutum-docker-wordpress-nosql
  5. http://www.flockport.com/deploy-wordpress-with-hhvm-and-php-fpm-as-fallback/
  6. https://rtcamp.com/tutorials/php/hhvm-with-fpm-fallback/
  7. https://bjornjohansen.no/hhvm-with-fallback-to-php
  8. https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04:w

docker-wordpress-hhvm-php-fpm-fallback's People

Contributors

lingz avatar philipz avatar stephencoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-wordpress-hhvm-php-fpm-fallback's Issues

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.