Skip to content

Commit

Permalink
added placeholder config
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuancas-elrond committed Jan 13, 2025
1 parent c39a5c3 commit 8f66dcb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
14 changes: 7 additions & 7 deletions config/config.placeholder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ features:
enabled: false
marketplace:
enabled: false
serviceUrl: 'https://devnet-nfts-graph.multiversx.com/graphql'
serviceUrl: 'MARKETPLACE_URL'
exchange:
enabled: false
serviceUrl: 'https://devnet-graph.xexchange.com/graphql'
serviceUrl: 'EXCHANGE_URL'
dataApi:
enabled: false
serviceUrl: 'https://devnet-data-api.multiversx.com'
serviceUrl: 'DATAAPI_URL'
assetsFetch:
enabled: true
assetesUrl: 'https://tools.multiversx.com/assets-cdn'
assetesUrl: 'ASSETSFETCH_URL'
auth:
enabled: false
maxExpirySeconds: 86400
Expand Down Expand Up @@ -98,13 +98,13 @@ features:
maxLookBehindNonces: 100
nodesFetch:
enabled: true
serviceUrl: 'https://devnet-api.multiversx.com'
serviceUrl: 'NODESFETCH_URL'
tokensFetch:
enabled: true
serviceUrl: 'https://devnet-api.multiversx.com'
serviceUrl: 'TOKENSFETCH_URL'
providersFetch:
enabled: true
serviceUrl: 'https://devnet-api.multiversx.com'
serviceUrl: 'PROVIDERSFETCH_URL'
image:
width: 600
height: 600
Expand Down
9 changes: 8 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
# PROVIDERS_URL=https://devnet-delegation-api.multiversx.com/providers
# DELEGATION_URL=https://devnet-delegation-api.multiversx.com
# SOCKET_URL=devnet-socket-api.multiversx.com
# NODESFETCH_URL= https://devnet-api.multiversx.com
# TOKENSFETCH_URL= https://devnet-api.multiversx.com
# PROVIDERSFETCH_URL= https://devnet-api.multiversx.com
# DATAAPI_URL=https://devnet-data-api.multiversx.com
# EXCHANGE_URL=https://devnet-graph.xexchange.com/graphql
# MARKETPLACE_URL=https://devnet-nfts-graph.multiversx.com/graphql
# ASSETSFETCH_URL=https://tools.multiversx.com/assets-cdn
# PLACEHOLDER_DAPP_id=devnet
# PLACEHOLDER_DAPP_name=Devnet
# PLACEHOLDER_DAPP_egldLabel=xEGLD
Expand All @@ -17,7 +24,7 @@
# PLACEHOLDER_DAPP_explorerAddress=http://devnet-explorer.multiversx.com
# PLACEHOLDER_DAPP_chainId=D

env_vars_with_defaults="MVX_ENV=devnet DAPP_CONFIG=devnet REDIS_IP=127.0.0.1 ELASTICSEARCH_URL=https://devnet-index.multiversx.com GATEWAY_URL=https://devnet-gateway.multiversx.com RABBITMQ_URL=amqp://127.0.0.1:5672 PROVIDERS_URL=https://devnet-delegation-api.multiversx.com/providers DELEGATION_URL=https://devnet-delegation-api.multiversx.com SOCKET_URL=devnet-socket-api.multiversx.com PLACEHOLDER_DAPP_id=devnet PLACEHOLDER_DAPP_name=Devnet PLACEHOLDER_DAPP_egldLabel=xEGLD PLACEHOLDER_DAPP_walletAddress=https://devnet-wallet.multiversx.com PLACEHOLDER_DAPP_apiAddress=https://devnet-api.multiversx.com PLACEHOLDER_DAPP_explorerAddress=http://devnet-explorer.multiversx.com PLACEHOLDER_DAPP_chainId=D"
env_vars_with_defaults="MVX_ENV=devnet DAPP_CONFIG=devnet REDIS_IP=127.0.0.1 ELASTICSEARCH_URL=https://devnet-index.multiversx.com GATEWAY_URL=https://devnet-gateway.multiversx.com RABBITMQ_URL=amqp://127.0.0.1:5672 PROVIDERS_URL=https://devnet-delegation-api.multiversx.com/providers DATAAPI_URL=https://devnet-data-api.multiversx.com EXCHANGE_URL=https://devnet-graph.xexchange.com/graphql MARKETPLACE_URL=https://devnet-nfts-graph.multiversx.com/graphql ASSETSFETCH_URL=https://tools.multiversx.com/assets-cdn DELEGATION_URL=https://devnet-delegation-api.multiversx.com SOCKET_URL=devnet-socket-api.multiversx.com NODESFETCH_URL=https://devnet-api.multiversx.com TOKENSFETCH_URL=https://devnet-api.multiversx.com PROVIDERSFETCH_URL=https://devnet-api.multiversx.com PLACEHOLDER_DAPP_id=devnet PLACEHOLDER_DAPP_name=Devnet PLACEHOLDER_DAPP_egldLabel=xEGLD PLACEHOLDER_DAPP_walletAddress=https://devnet-wallet.multiversx.com PLACEHOLDER_DAPP_apiAddress=https://devnet-api.multiversx.com PLACEHOLDER_DAPP_explorerAddress=http://devnet-explorer.multiversx.com PLACEHOLDER_DAPP_chainId=D"

replace_placeholder() {
local var_name=$1
Expand Down

0 comments on commit 8f66dcb

Please sign in to comment.