File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ Download example [docker-compose.yml](https://raw.githubusercontent.com/mkuchin/
26
26
### Environment variables
27
27
* REGISTRY_HOST - hostname of docker registry, if registry running in docker should be link name or point to container internal ip address
28
28
* REGISTRY_PORT - port of docker registry
29
+ * REGISTRY_NAME - visible name of registry if it different from ` ${REGISTRY_HOST}:${REGISTRY_PORT} `
29
30
* REGISTRY_AUTH - base64 encoded token for basic authentication
30
31
* READONLY = true|false - readonly mode
31
32
* TRUST_ANY_SSL = true|false - set to true, if you are using self signed certificate for registry
Original file line number Diff line number Diff line change @@ -126,6 +126,6 @@ grails.sitemesh.default.layout = "main"
126
126
registry {
127
127
host = System . env. REGISTRY_HOST ?: ' localhost'
128
128
port = System . env. REGISTRY_PORT ?: ' 5000'
129
- name = " ${ host}${ port != 80 ? ":$port".toString() : ''} "
129
+ name = System . env . REGISTRY_NAME ?: " ${ host}${ port != 80 ? ":$port".toString() : ''} "
130
130
readonly = System . env. READONLY == ' true'
131
131
}
You can’t perform that action at this time.
0 commit comments