Skip to content

Commit

Permalink
[digital ocean] Fixed swap indexer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
welbon committed Oct 5, 2024
1 parent 942bf87 commit 0df6e41
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
15 changes: 9 additions & 6 deletions kube/indexer/swap/swap-txns-main-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ spec:
value: "0"
- name: BULK_SIZE
value: "100"
- name: STARCOIN_ES_PWD
valueFrom:
secretKeyRef:
name: elasticsearch-pw-elastic
key: password
- name: STARCOIN_ES_URL
value: "elasticsearch.default.svc.cluster.local"
- name: STARCOIN_ES_PROTOCOL
value: "http"
- name: STARCOIN_ES_PORT
value: "9200"
- name: STARCOIN_ES_USER
value: elastic
valueFrom:
secretKeyRef:
name: elasticsearch
key: username
- name: STARCOIN_ES_PWD
valueFrom:
secretKeyRef:
name: elasticsearch
key: password
- name: SWAP_API_URL
value: "https://swap-api.starswap.xyz"
- name: SWAP_CONTRACT_ADDR
Expand Down
15 changes: 9 additions & 6 deletions kube/subscribe/starscan-sub-main-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,22 @@ spec:
value: "main.0727"
- name: BG_TASK_JOBS
value: "clean_pending_txn"
- name: STARCOIN_ES_PWD
valueFrom:
secretKeyRef:
name: elasticsearch-pw-elastic
key: password
- name: STARCOIN_ES_URL
value: "elasticsearch.default.svc.cluster.local"
- name: STARCOIN_ES_PROTOCOL
value: "http"
- name: STARCOIN_ES_PORT
value: "9200"
- name: STARCOIN_ES_USER
value: elastic
valueFrom:
secretKeyRef:
name: elasticsearch
key: username
- name: STARCOIN_ES_PWD
valueFrom:
secretKeyRef:
name: elasticsearch
key: password
- name: SWAP_API_URL
value: "https://swap-api.starcoin.org"
- name: SWAP_CONTRACT_ADDR
Expand Down

0 comments on commit 0df6e41

Please sign in to comment.