File tree Expand file tree Collapse file tree 4 files changed +79
-0
lines changed Expand file tree Collapse file tree 4 files changed +79
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : ConfigMap
4
+ metadata :
5
+ name : ibkr-config
6
+ data :
7
+ TWOFA_TIMEOUT_ACTION : " restart"
8
+ GATEWAY_OR_TWS : " gateway"
9
+ IBC_TradingMode : " live"
10
+ IBC_ReadOnlyApi : " no"
11
+ IBC_ReloginAfterSecondFactorAuthenticationTimeout : " yes"
12
+ IBC_AutoRestartTime : " 08:35 AM"
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : apps/v1
3
+ kind : Deployment
4
+ metadata :
5
+ name : ib-gateway
6
+ spec :
7
+ replicas : 1
8
+ selector :
9
+ matchLabels :
10
+ app : ib-gateway
11
+ template :
12
+ metadata :
13
+ labels :
14
+ app : ib-gateway
15
+ spec :
16
+ containers :
17
+ - name : ib-gateway
18
+ image : ghcr.io/extrange/ibkr:10.30
19
+ ports :
20
+ - containerPort : 6080
21
+ name : novnc
22
+ - containerPort : 8888
23
+ name : api
24
+ env :
25
+ - name : USERNAME
26
+ valueFrom :
27
+ secretKeyRef :
28
+ name : ibkr-secret
29
+ key : username
30
+ - name : PASSWORD
31
+ valueFrom :
32
+ secretKeyRef :
33
+ name : ibkr-secret
34
+ key : password
35
+ envFrom :
36
+ - configMapRef :
37
+ name : ibkr-config
38
+ resources :
39
+ requests :
40
+ cpu : 500m
41
+ memory : 1024Mi
42
+ limits :
43
+ cpu : 1000m
44
+ memory : 2048Mi
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : kustomize.config.k8s.io/v1beta1
3
+ kind : Kustomization
4
+ resources :
5
+ - configmap.yaml
6
+ - deployment.yaml
7
+ - service.yaml
8
+ - secrets.yaml
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : Service
4
+ metadata :
5
+ name : ib-gateway
6
+ spec :
7
+ selector :
8
+ app : ib-gateway
9
+ ports :
10
+ - name : novnc
11
+ port : 6080
12
+ targetPort : 6080
13
+ - name : api
14
+ port : 8888
15
+ targetPort : 8888
You can’t perform that action at this time.
0 commit comments