-
Notifications
You must be signed in to change notification settings - Fork 10
/
add-cf-rabbitmq.yml
92 lines (90 loc) · 2.29 KB
/
add-cf-rabbitmq.yml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
- type: replace
path: /releases/name=((rabbitmq-release-name))?
value:
name: ((rabbitmq-release-name))
version: latest
- type: replace
path: /instance_groups/-
value:
name: rmq
instances: 3
jobs:
- name: rabbitmq-server
release: ((rabbitmq-release-name))
properties:
rabbitmq-server:
restart_statsdb_cron_schedule: "42 */4 * * *"
plugins:
- rabbitmq_management
- rabbitmq_mqtt
- rabbitmq_stomp
ports:
- 5672
- 5671
- 1883
- 8883
- 61613
- 61614
- 15672
- 15674
administrators:
management:
username: ((rabbitmq-management-username))
password: ((rabbitmq-management-password))
broker:
username: ((rabbitmq-broker-username))
password: ((rabbitmq-broker-password))
cookie: "rabbit-cluster:aws"
cluster_partition_handling: ((cluster-partition-handling-strategy))
disk_alarm_threshold: ((disk_alarm_threshold))
consumes:
rabbitmq-server:
ip_addresses: true
vm_type: n1-highmem-2
stemcell: jammy
persistent_disk_type: 50GB
networks:
- name: default
azs:
- z1
- z2
- type: replace
path: /instance_groups/-
value:
name: haproxy
instances: ((haproxy-instances))
jobs:
- name: rabbitmq-haproxy
release: ((rabbitmq-release-name))
properties:
rabbitmq-haproxy:
stats:
username: ((haproxy-stats-username))
password: ((haproxy-stats-password))
- name: route_registrar
release: routing
consumes:
nats-tls: {from: nats-tls, deployment: cf}
properties:
nats:
tls:
enabled: true
client_cert: ((nats-client-cert))
client_key: ((nats-client-key))
route_registrar:
routes:
- name: ((rabbitmq-management-hostname))
port: 15672
registration_interval: 20s
uris:
- ((rabbitmq-management-hostname)).((system-domain))
- name: bpm
release: bpm
vm_type: n1-standard-1
stemcell: jammy
networks:
- name: default
azs:
- z1
- z2