allow for configurable notary server

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
Riyaz Faizullabhoy 2016-04-01 21:26:07 -07:00
parent ce6737d693
commit b00a8641d6
1 changed files with 2 additions and 2 deletions

View File

@ -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 ----