Merge branch 'stats-bind-jorge' into 'master'
Stats bind jorge
See merge request !19
diff --git a/metadata/service/proxy/admin.yml b/metadata/service/proxy/admin.yml
index 9da7ec1..b742065 100644
--- a/metadata/service/proxy/admin.yml
+++ b/metadata/service/proxy/admin.yml
@@ -3,6 +3,8 @@
parameters:
_param:
haproxy_admin_password: password
+ haproxy_admin_address: '0.0.0.0'
+ haproxy_admin_port: 9600
haproxy:
proxy:
listen:
@@ -10,7 +12,7 @@
type: admin
check: false
binds:
- - address: '0.0.0.0'
- port: 9600
+ - address: {_param:haproxy_admin_address}
+ port: {_param:haproxy_admin_port}
user: admin
password: ${_param:haproxy_admin_password}
diff --git a/metadata/service/proxy/stats.yml b/metadata/service/proxy/stats.yml
new file mode 100644
index 0000000..af57646
--- /dev/null
+++ b/metadata/service/proxy/stats.yml
@@ -0,0 +1,15 @@
+applications:
+- haproxy
+parameters:
+ _param:
+ haproxy_admin_address: '0.0.0.0'
+ haproxy_admin_port: 9600
+ haproxy:
+ proxy:
+ listen:
+ admin_page:
+ type: stats
+ check: false
+ binds:
+ - address: {_param:haproxy_admin_address}
+ port: {_param:haproxy_admin_port}
\ No newline at end of file