Add IBKR Gateway Docker compose file

This commit is contained in:
moshferatu 2023-12-07 11:03:52 -08:00
parent 5a18457b4f
commit dcfc76b554

16
ibkr-gateway.yaml Normal file
View File

@ -0,0 +1,16 @@
version: "3"
services:
ibkr-gateway:
container_name: ibkr-gateway
image: ghcr.io/gnzsnz/ib-gateway:latest
environment:
- TWS_USERID=
- TWS_PASSWORD=
- TRADING_MODE=paper # or live
- READ_ONLY_API=no
- RELOGIN_AFTER_2FA_TIMEOUT=yes
ports:
- "127.0.0.1:4001:4003"
- "127.0.0.1:4002:4004"
- "127.0.0.1:5900:5900"
restart: unless-stopped