This repo is a demo using the wip/prototype scs-utils
managing a
WordPress blog with a MySQL master/slave server across multiple
Docker containers and multiple hosts.
This creates and runs roles based on:
scs-mysql
(settings)scs-mysql-slave
(settings) - requires localroot
/password
and masterrepl
/password
scs-wordpress
(settings) - requires ascs_example
user and database; installs thejetpack
plugin, upgradedakismet
plugin, andresponsive
theme
You'll see all the commands you'll need to run below and the prompt will indicate where you should run them:
host$
- from your local machinevagrant$
,vagrant2$
- from your virtual machine (viavagrant ssh
)container$
- from inside a container (vialxc-attach ...
)
I've primarily been running this under the following environment:
$ uname -rs
Darwin 13.0.2
$ vagrant -v
Vagrant 1.4.3
$ node -v
v0.10.22
Clone this example and use Vagrant to start the environment...
host$ git clone https://github.com/dpb587/scs-example-blog.git
host$ cd scs-example-blog/
host$ vagrant up
...snip...
--> Ready at http://192.168.191.92/wordpress/