Runs Interactive Brokers (IB) gateway as an Okinta stack
1.6K
Runs Interactive Brokers (IB) gateway as an Okinta stack.
An Okinta stack is a deployable unit for Alga that runs within Okinta's infrastructure. Stacks describe all necessary information to deploy a service.
For more information about Alga, refer to the alga-infra repository.
This stack runs IB gateway as a service, allowing other services to remotely send orders to the financial markets.
This stack is dependent on the vault stack in order to retrieve login information for IB. It produces the okinta/ibgateway container, which is managed as a seperate generic repository.
docker build -t okinta/stack-ibgateway .
docker run okinta/stack-ibgateway
To connect to Vault locally, establish an SSH tunnel:
ssh -N -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -L 7020:127.0.0.1:7020 <VAULT HOST>
Then to allow access to Vault inside the container, use:
docker run --add-host "vault.in.okinta.ge:$(docker run alpine getent hosts host.docker.internal | cut -d' ' -f1)" okinta/stack-ibgateway
Content type
Image
Digest
Size
225.1 MB
Last updated
about 6 years ago
docker pull okinta/stack-ibgateway