docker-compose/ibkr-gateway.yaml

16 lines
403 B
YAML
Raw Permalink Normal View History

2023-12-07 19:03:52 +00:00
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