updated config, docker-registry as docker container in riot

This commit is contained in:
do
2020-08-30 18:06:41 +02:00
parent 1b24de86d4
commit 7ea6c21947

View File

@@ -58,64 +58,31 @@ haproxy:
refresh: "20s"
frontends:
frontend1:
name: radosgw
bind: "*:7480"
default_backend: radosgw-backend
frontend2:
name: www
bind: "*:80"
default_backend: ceph-dashboard
default_backend: stats
acls:
- host_ceph hdr_beg(host) -i ceph.
- host_stats hdr_beg(host) -i stats.
- host_docker hdr_beg(host) -i docker-registry.
use_backends:
- grafana if host_stats
- ceph-dashboard if host_ceph
- docker-registry if host_docker
backends:
backend1:
name: radosgw-backend
name: docker-registry
balance: roundrobin
servers:
server1:
name: pine01
host: 192.168.10.160
port: 7480
check: check
server2:
name: pine02
host: 192.168.10.161
port: 7480
check: check
server3:
name: pine03
host: 192.168.10.162
port: 7480
host: 127.0.0.1
port: 5000
check: check
backend2:
name: ceph-dashboard
balance: roundrobin
servers:
server1:
name: pine01
host: 192.168.10.160
port: 8080
check: check
server2:
name: pine02
host: 192.168.10.161
port: 8080
check: check
#server3:
# name: pine03
# host: 192.168.10.162
# port: 8080
# check: check
backend3:
name: grafana
balance: roundrobin
servers:
server1:
name: riot01
host: 192.168.10.164
port: 3000
check: check
name: grafana
balance: roundrobin
servers:
server1:
name: riot01
host: 192.168.10.164
port: 3000
check: check