mirror of https://github.com/samply/bridgehead.git
Add export
This commit is contained in:
parent
729d4e2c1e
commit
3ead08fae1
|
@ -14,7 +14,7 @@ detectCompose() {
|
||||||
setLdmPassword() {
|
setLdmPassword() {
|
||||||
if [ -n "$LDM_PASSWORD" ]; then
|
if [ -n "$LDM_PASSWORD" ]; then
|
||||||
log DEBUG "Transforming LDM_PASSWORD into LDM_LOGIN ..."
|
log DEBUG "Transforming LDM_PASSWORD into LDM_LOGIN ..."
|
||||||
LDM_LOGIN=$(docker run --rm -it httpd:alpine htpasswd -nb $PROJECT $LDM_PASSWORD | tr -d '\n' | tr -d '\r')
|
export LDM_LOGIN=$(docker run --rm -it httpd:alpine htpasswd -nb $PROJECT $LDM_PASSWORD | tr -d '\n' | tr -d '\r')
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue