16 lines
403 B
YAML
16 lines
403 B
YAML
|
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
|