~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/gopkg.in/juju/jujusvg.v1/examples/mediawiki-scalable.yaml

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
applications:
 
2
  haproxy:
 
3
    charm: cs:precise/haproxy-35
 
4
    num_units: 1
 
5
    options:
 
6
      default_log: global
 
7
      default_mode: http
 
8
      default_options: httplog, dontlognull
 
9
      default_retries: 3
 
10
      default_timeouts: queue 20000, client 50000, connect 5000, server 50000
 
11
      enable_monitoring: false
 
12
      global_debug: false
 
13
      global_group: haproxy
 
14
      global_log: 127.0.0.1 local0, 127.0.0.1 local1 notice
 
15
      global_maxconn: 4096
 
16
      global_quiet: false
 
17
      global_spread_checks: 0
 
18
      global_user: haproxy
 
19
      monitoring_allowed_cidr: 127.0.0.1/32
 
20
      monitoring_password: changeme
 
21
      monitoring_port: 10000
 
22
      monitoring_stats_refresh: 3
 
23
      monitoring_username: haproxy
 
24
      nagios_context: juju
 
25
      package_status: install
 
26
      applications: "- service_name: haproxy_service\n  service_host: \"0.0.0.0\"\n  service_port:
 
27
        80\n  service_options: [balance leastconn]\n  server_options: maxconn 100\n"
 
28
      sysctl: ""
 
29
    annotations:
 
30
      gui-x: "619"
 
31
      gui-y: "-406"
 
32
  mediawiki:
 
33
    charm: cs:precise/mediawiki-10
 
34
    num_units: 1
 
35
    options:
 
36
      debug: false
 
37
      name: Please set name of wiki
 
38
      skin: vector
 
39
    annotations:
 
40
      gui-x: "618"
 
41
      gui-y: "-128"
 
42
  memcached:
 
43
    charm: cs:precise/memcached-7
 
44
    num_units: 1
 
45
    options:
 
46
      connection-limit: 1024
 
47
      disable-auto-cleanup: "no"
 
48
      disable-cas: "no"
 
49
      disable-large-pages: "no"
 
50
      extra-options: ""
 
51
      factor: 1.25
 
52
      min-item-size: -1
 
53
      nagios_context: juju
 
54
      request-limit: -1
 
55
      size: 768
 
56
      slab-page-size: -1
 
57
      tcp-port: 11211
 
58
      threads: -1
 
59
      udp-port: 0
 
60
    annotations:
 
61
      gui-x: "926"
 
62
      gui-y: "-125"
 
63
  mysql:
 
64
    charm: cs:precise/mysql-28
 
65
    num_units: 1
 
66
    options:
 
67
      binlog-format: MIXED
 
68
      block-size: 5
 
69
      dataset-size: 80%
 
70
      flavor: distro
 
71
      ha-bindiface: eth0
 
72
      ha-mcastport: 5411
 
73
      max-connections: -1
 
74
      preferred-storage-engine: InnoDB
 
75
      query-cache-size: -1
 
76
      query-cache-type: "OFF"
 
77
      rbd-name: mysql1
 
78
      tuning-level: safest
 
79
      vip_cidr: 24
 
80
      vip_iface: eth0
 
81
    annotations:
 
82
      gui-x: "926"
 
83
      gui-y: "123"
 
84
  mysql-slave:
 
85
    charm: cs:precise/mysql-28
 
86
    num_units: 1
 
87
    options:
 
88
      binlog-format: MIXED
 
89
      block-size: 5
 
90
      dataset-size: 80%
 
91
      flavor: distro
 
92
      ha-bindiface: eth0
 
93
      ha-mcastport: 5411
 
94
      max-connections: -1
 
95
      preferred-storage-engine: InnoDB
 
96
      query-cache-size: -1
 
97
      query-cache-type: "OFF"
 
98
      rbd-name: mysql1
 
99
      tuning-level: safest
 
100
      vip_cidr: 24
 
101
      vip_iface: eth0
 
102
    annotations:
 
103
      gui-x: "619"
 
104
      gui-y: "124"
 
105
series: precise
 
106
relations:
 
107
- - mediawiki:cache
 
108
  - memcached:cache
 
109
- - haproxy:reverseproxy
 
110
  - mediawiki:website
 
111
- - mysql-slave:slave
 
112
  - mysql:master
 
113
- - mediawiki:slave
 
114
  - mysql-slave:db