Added BANSHO_AUTH_URL variable
Change-Id: I809ab56f34673c6737033b3ea72db05f4fac96d1
This commit is contained in:
parent
610f7a9f9d
commit
dba9d119f8
@ -35,6 +35,7 @@ ENV BANSHO_BACKEND surveil
|
||||
ENV BANSHO_PROD true
|
||||
ENV BANSHO_SURVEIL_URL http://surveil:8080/
|
||||
ENV BANSHO_ADAGIOS_URL http://demo.kaji-project.org/
|
||||
ENV BANSHO_AUTH_URL http://surveil:8080/v2/auth/
|
||||
|
||||
CMD ./configure.sh && \
|
||||
cd /opt/bansho && \
|
||||
|
@ -9,6 +9,9 @@
|
||||
|
||||
ProxyPreserveHost On
|
||||
|
||||
ProxyPass /surveil/v2/auth/ http://surveil:8080/v2/auth/
|
||||
ProxyPassReverse /surveil/v2/auth/ http://surveil:8080/v2/auth/
|
||||
|
||||
ProxyPass /surveil/ http://surveil:8080/
|
||||
ProxyPassReverse /surveil/ http://surveil:8080/
|
||||
|
||||
|
@ -11,3 +11,7 @@ sed -i "s|ProxyPassReverse /surveil/.*|ProxyPassReverse /surveil/ ${BANSHO_SURVE
|
||||
# Adagios URLS
|
||||
sed -i "s|ProxyPass /adagios/.*|ProxyPass /adagios/ ${BANSHO_ADAGIOS_URL}|g" ${CONFIG_FILE}
|
||||
sed -i "s|ProxyPassReverse /adagios/.*|ProxyPassReverse /adagios/ ${BANSHO_ADAGIOS_URL}|g" ${CONFIG_FILE}
|
||||
|
||||
# Bansho auth URL
|
||||
sed -i "s|ProxyPass /surveil/v2/auth/.*|ProxyPass /surveil/v2/auth/ ${BANSHO_AUTH_URL}|g" ${CONFIG_FILE}
|
||||
sed -i "s|ProxyPassReverse /surveil/v2/auth/.*|ProxyPass /surveil/v2/auth/ ${BANSHO_AUTH_URL}|g" ${CONFIG_FILE}
|
||||
|
Loading…
Reference in New Issue
Block a user