summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClark Laughlin <clark.laughlin@linaro.org>2015-10-27 16:38:32 -0400
committerClark Laughlin <clark.laughlin@linaro.org>2015-10-27 16:38:32 -0400
commit6e1e05f04a558e0e73f1f5ed20bba77da4e144ab (patch)
tree0e1888844e2f549f484c96b591a1e47511183810
parent752f1524c67dfd2d3ddfb9c57a16ba7a906c0e20 (diff)
docker-start-containers: move path to EV
-rwxr-xr-xdocker-start-containers3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker-start-containers b/docker-start-containers
index 7d4d681..a512c15 100755
--- a/docker-start-containers
+++ b/docker-start-containers
@@ -3,13 +3,14 @@
DOCKER_WEBSERVER_VIRTUAL_HOST=docker.linaro.org
DOCKER_REGISTRY_VIRTUAL_HOST=docker-registry.linaro.org
+CERTS_DIR=/srv/certs
REGISTRY_DATA_DIR=/srv/reporting-portal/data/docker-linaro-org/registry
docker run -d --name docker-registry-v2 \
-e VIRTUAL_HOST=${DOCKER_REGISTRY_VIRTUAL_HOST} \
-e VIRTUAL_PROTO=https \
-p 5000:5000 \
- -v /srv/certs:/certs \
+ -v ${CERTS_DIR}:/certs \
-e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/linaro.org.crt \
-e REGISTRY_HTTP_TLS_KEY=/certs/linaro.org.key \
--restart=always \