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" refresh: "20s"
frontends: frontends:
frontend1: frontend1:
name: radosgw
bind: "*:7480"
default_backend: radosgw-backend
frontend2:
name: www name: www
bind: "*:80" bind: "*:80"
default_backend: ceph-dashboard default_backend: stats
acls: acls:
- host_ceph hdr_beg(host) -i ceph.
- host_stats hdr_beg(host) -i stats. - host_stats hdr_beg(host) -i stats.
- host_docker hdr_beg(host) -i docker-registry.
use_backends: use_backends:
- grafana if host_stats - grafana if host_stats
- ceph-dashboard if host_ceph - docker-registry if host_docker
backends: backends:
backend1: backend1:
name: radosgw-backend name: docker-registry
balance: roundrobin balance: roundrobin
servers: servers:
server1: server1:
name: pine01 name: pine01
host: 192.168.10.160 host: 127.0.0.1
port: 7480 port: 5000
check: check
server2:
name: pine02
host: 192.168.10.161
port: 7480
check: check
server3:
name: pine03
host: 192.168.10.162
port: 7480
check: check check: check
backend2: backend2:
name: ceph-dashboard name: grafana
balance: roundrobin balance: roundrobin
servers: servers:
server1: server1:
name: pine01 name: riot01
host: 192.168.10.160 host: 192.168.10.164
port: 8080 port: 3000
check: check 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