Skip to content

Instantly share code, notes, and snippets.

@marcoceppi
Created October 8, 2015 16:48
Show Gist options
  • Save marcoceppi/48b457f0b99067eeed0e to your computer and use it in GitHub Desktop.
Save marcoceppi/48b457f0b99067eeed0e to your computer and use it in GitHub Desktop.
services:
haproxy:
charm: cs:trusty/haproxy
to: '0'
wordpress:
charm: cs:trusty/wordpress
to: lxc:0
mysql:
charm: cs:trusty/mysql
options:
dataset-size: 80%
to: lxc:0
relations:
- - mysql:db
- wordpress:db
- - wordpress:website
- haproxy:reverse-proxy
machines:
0:
constraints: arch=amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment