since ssl is handled at the proxy, no need to differentiate between prod/stg registry

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller 2016-07-12 18:34:42 +00:00
parent 5b12255a3a
commit 5624c12da2

View file

@ -43,7 +43,6 @@
# on localhost and all external connections will be through httpd which
# will be SSL enalbed.
roles:
# STAGING
- {
role: docker-distribution,
conf_path: "/etc/docker-distribution/registry/config.yml",
@ -65,33 +64,7 @@
},
http: {
addr: ":5000"
},
when: env == "staging"
}
# PROD
- {
role: docker-distribution,
conf_path: "/etc/docker-distribution/registry/config.yml",
tls: {
enabled: False,
},
log: {
fields: {
service: "registry"
}
},
storage: {
cache: {
layerinfo: "inmemory"
},
filesystem: {
rootdirectory: "/srv/"
}
},
http: {
addr: ":5000"
},
when: env == "production"
}
}
# Setup compose-x86-01 push docker images to registry