1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
landscape-scalable:
series: trusty
services:
rabbitmq-server:
charm: cs:trusty/rabbitmq-server-7
postgresql:
charm: cs:trusty/postgresql-3
constraints: mem=2048
options:
extra-packages: python-apt postgresql-contrib postgresql-.*-debversion
max_connections: 500
haproxy:
charm: cs:trusty/haproxy-1
options:
enable_monitoring: True
monitoring_allowed_cidr: "0.0.0.0/0"
monitoring_password: "haproxy"
default_timeouts: "queue 60000, connect 5000, client 120000, server 120000"
apache2:
charm: cs:trusty/apache2-4
expose: True
options:
enable_modules: proxy proxy_http proxy_balancer rewrite expires headers ssl
ssl_cert: SELFSIGNED
ssl_certlocation: apache2.cert
ssl_keylocation: apache2.key
landscape:
charm: cs:trusty/landscape-server-10
constraints: mem=2048
options:
service-count: "2"
services: static appserver pingserver combo-loader async-frontend apiserver package-upload jobhandler package-search cron juju-sync
repository: http://ppa.launchpad.net/landscape/14.10/ubuntu
landscape-msg:
charm: cs:trusty/landscape-server-10
constraints: mem=2048
options:
services: msgserver
repository: http://ppa.launchpad.net/landscape/14.10/ubuntu
relations:
- [landscape, rabbitmq-server]
- [landscape, haproxy]
- ["landscape:vhost-config", "apache2:vhost-config"]
- ["landscape:db-admin", "postgresql:db-admin"]
- ["haproxy:website", "apache2:reverseproxy"]
- [landscape-msg, rabbitmq-server]
- [landscape-msg, haproxy]
- ["landscape-msg:db-admin", "postgresql:db-admin"]
|