From dcfc76b55427869c32923dd4b07c7b368d5bda54 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Thu, 7 Dec 2023 11:03:52 -0800 Subject: [PATCH] Add IBKR Gateway Docker compose file --- ibkr-gateway.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ibkr-gateway.yaml diff --git a/ibkr-gateway.yaml b/ibkr-gateway.yaml new file mode 100644 index 0000000..0855c06 --- /dev/null +++ b/ibkr-gateway.yaml @@ -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 \ No newline at end of file