summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClark Laughlin <clark.laughlin@linaro.org>2015-10-27 16:42:39 -0400
committerClark Laughlin <clark.laughlin@linaro.org>2015-10-27 16:42:39 -0400
commit77f3db21d01525ceebec316281b569734e5191c0 (patch)
tree91ff6aacd0400f9f33d4df630efe66aedf79f3a8
parent0c9cea18a58bb55f216aa138829b50921a583cb1 (diff)
docker-start-revproxy: enable support for authenticationHEADmaster
-rwxr-xr-xdocker-start-revproxy10
1 files changed, 5 insertions, 5 deletions
diff --git a/docker-start-revproxy b/docker-start-revproxy
index d3b5813..8752f06 100755
--- a/docker-start-revproxy
+++ b/docker-start-revproxy
@@ -1,17 +1,17 @@
#!/bin/bash
-WEBAPP_VIRTUAL_HOST=openstack.linaro.org
-STATIC_LOGS_VIRTUAL_HOST=openstack-logs.linaro.org
-DATA_DIR=/srv/tempest/data
-LOGS_DIR=/srv/tempest/logs/logs
+DATA_PATH=/srv/reporting-portal/data
+HTPASSWD_PATH=${DATA_PATH}/htpasswd
+CERTS_PATH=/srv/certs
# start the reverse proxy
docker run -d --name reverse-proxy \
-p 80:80 \
-p 443:443 \
--restart=always \
+ -v ${HTPASSWD_PATH}:/etc/nginx/htpasswd \
-v ${PWD}/custom.conf:/etc/nginx/conf.d/custom.conf:ro \
- -v /srv/certs:/etc/nginx/certs \
+ -v ${CERTS_PATH}:/etc/nginx/certs \
-v /var/run/docker.sock:/tmp/docker.sock \
jwilder/nginx-proxy