1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

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

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