dsqmoore / bosh-sample-release Goto Github PK
View Code? Open in Web Editor NEWThis project forked from orsonkent/bosh-sample-release
License: Apache License 2.0
This project forked from orsonkent/bosh-sample-release
License: Apache License 2.0
This is a sample release repository for BOSH that deploys a three tier LAMP application: a wordpress blog which consists of a number of apache servers running php & wordpress, fronted by nginx, and using one mysql database for storage. The sample is made up of three jobs: - mysql - wordpress which consist of apache + php5 + wordpress - nginx The repository also contains a sample deployment file (wordpress.yml) which you can use to deploy the jobs that makes up the application, after updating the "networks" section. There are three main directories in the release: - src this is the source code for the packages - packages this is instructions on how to compile the source into binaries - jobs this is scripts and configuration files required to run the packages A package is made up of the following files: - spec defines the package name, the source file it uses and optionally other packages it depends on to compile - pre_packaging an optional file that prepares the source for the packaging script - packing the script that compiles the source into binaries A job is made up of the following files: - spec defines the job name, package dependencies and how to convert templates into files - monit the monit file which defines how to start and stop the job - templates a directory which contain the scripts and config files for the job The wordpress job consist of four packages: apache2, php5, wordpress and mysqlclient. Normally php is compiled into apache, but here it is kept in its own package so that you can easily upgrade one without the other. To deploy the sample application use the following command sequence: bosh create release (name it wordpress) bosh upload release edit deployment manifest (wordpress.yml) bosh deployment wordpress.yml bosh deploy TODO use HyperDB & MySQL master/slave replication http://wordpress.org/extend/plugins/hyperdb/installation/ http://dev.mysql.com/doc/refman/5.1/en/replication-howto.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.