Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running container requires the use of env variables #5

Open
krumware opened this issue Feb 19, 2019 · 2 comments
Open

Running container requires the use of env variables #5

krumware opened this issue Feb 19, 2019 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@krumware
Copy link
Collaborator

This issue is for tracking and explanation:
Currently, running this container requires the use of env variables. This is due to the need to bypass launching the IB Gateway using the original internal script /IBController/IBControllerGatewayStart.sh.
If we didn't bypass this script, our environmental variables would be overwritten by the defaults, so we must bypass this script in order to be able to use the env vars.

In future releases of the IB Gateway, either through QuantConnect's fork or otherwise, the original maintainers of IB Gateway may choose to add env var support to this script, but (opinion incoming) that is outside the responsibility of this repo.

@krumware
Copy link
Collaborator Author

We may be able to re-enable default vars by adding an IF check in runscript.sh to check for the existence of ENV vars. If they are missing, run the original /IBController/IBControllerGatewayStart.sh script.

@krumware krumware added the help wanted Extra attention is needed label Apr 29, 2019
@krumware
Copy link
Collaborator Author

Tagged as help wanted in case anyone wants to take a stab at this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant