mirror of https://github.com/docker/docs.git
allow for configurable notary server
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
parent
ce6737d693
commit
b00a8641d6
|
@ -54,8 +54,8 @@ DEFAULT_DOCKER_CONFIG = os.path.expanduser("~/.docker")
|
|||
# the root of the notary repo after binaries are built
|
||||
NOTARY_CLIENT = "bin/notary -c cmd/notary/config.json"
|
||||
|
||||
# Assumes the trust server will be run using compose
|
||||
TRUST_SERVER = "https://notary-server:4443"
|
||||
# Assumes the trust server will be run using compose if DOCKER_CONTENT_TRUST_SERVER is not specified
|
||||
TRUST_SERVER = os.getenv('DOCKER_CONTENT_TRUST_SERVER', "https://notary-server:4443")
|
||||
|
||||
# ---- setup ----
|
||||
|
||||
|
|
Loading…
Reference in New Issue