cr, dr-mirror, gcr-mirror - the mirrors won't do
This commit is contained in:
@@ -40,17 +40,6 @@ systemd:
|
||||
ExecStop: /usr/bin/podman stop pihole
|
||||
Install:
|
||||
WantedBy: multi-user.target
|
||||
container-docker-registry:
|
||||
Unit:
|
||||
Description: Docker Registry
|
||||
After: network-online.target local-fs.target
|
||||
Before: haproxy.service
|
||||
Requires: io.podman.service
|
||||
Service:
|
||||
ExecStart: /usr/bin/podman start -a docker-registry
|
||||
ExecStop: /usr/bin/podman stop docker-registry
|
||||
Install:
|
||||
WantedBy: multi-user.target
|
||||
container-zwave2mqtt:
|
||||
Unit:
|
||||
Description: zwave2mqtt - yes
|
||||
@@ -144,13 +133,11 @@ haproxy:
|
||||
- host_auto-conf hdr_beg(host) -i auto-conf.
|
||||
- host_z2m hdr_beg(host) -i zwave2mqtt.
|
||||
- host_pihole hdr_beg(host) -i pihole.
|
||||
- host_docker-registry hdr_beg(host) -i docker-registry.
|
||||
use_backends:
|
||||
- auto if host_auto
|
||||
- auto-conf if host_auto-conf
|
||||
- z2m if host_z2m
|
||||
- pihole if host_pihole
|
||||
- docker-registry if host_docker-registry
|
||||
backends:
|
||||
backend1:
|
||||
name: auto
|
||||
@@ -192,23 +179,6 @@ haproxy:
|
||||
host: 127.0.0.1
|
||||
port: 8080
|
||||
check: check
|
||||
backend5:
|
||||
name: docker-registry
|
||||
balance: roundrobin
|
||||
servers:
|
||||
server1:
|
||||
name: auto02
|
||||
host: 127.0.0.1
|
||||
port: 5000
|
||||
check: check
|
||||
options:
|
||||
- http-server-close
|
||||
extra:
|
||||
#- http-request add-header Access-Control-Allow-Origin "http://docker-registry.lan"
|
||||
- http-response add-header Access-Control-Allow-Origin "*"
|
||||
- http-response add-header Access-Control-Allow-Methods "HEAD, GET, OPTIONS, DELETE"
|
||||
- http-response add-header Access-Control-Allow-Headers "Authorization, Accept"
|
||||
- http-response add-header Access-Control-Allow-Credentials true
|
||||
- http-response add-header Access-Control-Expose-Headers "Docker-Content-Digest"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user