QuantRocket

Setting Houston Credentials of Local Deployment


#1

I currently have a local install of QuantRocket running which has no credentials set for Houston, I would like to set some credentials for security purposes without redeploying with the ‘cloud’ compose file.

I have tried adding the following under houston in the compose file

environment:
BASIC_AUTH_USER: ‘${HOUSTON_USERNAME}’
BASIC_AUTH_PASSWD: ‘${HOUSTON_PASSWORD}’

Then setting the environment varibales with ‘export’ and running

docker-compose -p quantrocket up -d houston

This has not worked for me as I am still able to connect without credentials, is it possible on a local deployment?


#2

No, authentication is only checked when connecting via HTTPS, which requires an SSL certificate and a public IP and thus is not readily applicable to local deployments. It wouldn’t provide much security to a local deployment anyway since your credentials would be readily available via the environment variables.