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:
parent
5b12255a3a
commit
5624c12da2
1 changed files with 1 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue