Skip to content

Commit

Permalink
Merge branch 'develop' into master-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhender committed Sep 19, 2023
2 parents 672ce6c + dca0e34 commit 1ac937f
Show file tree
Hide file tree
Showing 202 changed files with 36,368 additions and 56,595 deletions.
82 changes: 0 additions & 82 deletions .env.ci

This file was deleted.

58 changes: 33 additions & 25 deletions .env.dev
Original file line number Diff line number Diff line change
@@ -1,69 +1,78 @@
# NESTJS CONFIG
NESTJS_PORT=3000

# DB Config
DB_HOST=postgres
# DB CONFIG
DB_HOST=127.0.0.1
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=password
DB_NAME=dev-test

# Redis
TYPEORM_LOGGING=error,migration,warn,info

# REDIS
REDIS_VERSION=6.0.8
REDIS_PASSWORD=password
#REDIS_PASSWORD=password
REDIS_PORT=6379
REDIS_HOST=redis
REDIS_HOST=127.0.0.1

#NATS.IO CONFIG
# NATS.IO CONFIG
NATS_VERSION=2.1.8
NATS_CLIENTS_URL=nats:4222
NATS_ENVIRONMENT_NAME=dev
NATS_CLIENTS_URL=127.0.0.1:4222
NATS_ENVIRONMENT_NAME=ewf-dev

# ENS
ROOT_DOMAIN=iam.ewc
CHAIN_ID=73799
CHAIN_NAME=volta
ENS_URL=https://volta-rpc-vkn5r5zx4ke71f9hcu0c.energyweb.org
ENS_URL=<PUT_YOUR_VALUE_HERE>
PUBLIC_RESOLVER_ADDRESS=0x0a97e07c4Df22e2e31872F20C5BE191D5EFc4680
ENS_REGISTRY_ADDRESS=0xd7CeF70Ba7efc2035256d828d5287e2D285CD1ac
DID_REGISTRY_ADDRESS=0xc15d5a57a8eb0e1dcbe5d88b8f9a82017e5cc4af
CLAIM_MANAGER_ADDRESS=0x2F259e307D0Ba78902391c070e7b4aA043E74DBB
DID_REGISTRY_ADDRESS=0xC15D5A57A8Eb0e1dCBE5D88B8f9a82017e5Cc4AF
DOMAIN_NOTIFIER_ADDRESS=0xeea658026d6CDede4380D3aD030beAC911758A93
STAKING_POOL_FACTORY_ADDRESS=0x4b2A127680320eD980beAa7aD9b2447B96BC32fC
RESOLVER_V1_ADDRESS=0xf5EA22c1F799d425356c2aab2004200Ab4490D2b
RESOLVER_V2_ADDRESS=0xcf72f16Ab886776232bea2fcf3689761a0b74EfE
CHAIN_REQUEST_ATTEMPTS=5

# ASSETS
ASSETS_MANAGER_ADDRESS=0xE258fA7D1cc8964D0dEB7204Df947bCa42b2c940
# ASSETS
ASSETS_MANAGER_ADDRESS=0x524563FeA0c9b54B337F0bAc366A9f541d26b3ea
ASSETS_SYNC_INTERVAL_IN_HOURS=10
ASSETS_SYNC_HISTORY_INTERVAL_IN_HOURS=21
ASSETS_SYNC_ENABLED=true

# IPFS
IPFS_CLUSTER_ROOT # Cluster can be deployed locally with e2e/setupIpfsCluster/index.ts
IPFS_CLUSTER_USER # Not needed locally
IPFS_CLUSTER_PASSWORD # Not needed locally
IPFS_CLIENT_URL # Can be public gateway https://ipfs.github.io/public-gateway-checker/, Inura gateway or IPFS cluster. When cluster used as IPFS gateway it supports only GET
IPFS_CLIENT_PROTOCOL # These can be
IPFS_CLIENT_HOST # used instead of
IPFS_CLIENT_PORT # IPFS_CLIENT_URL
IPFS_CLIENT_PROJECT_ID # Id of Infura project or user of cluster
IPFS_CLIENT_PROJECT_SECRET # Secret of Infura project or cluster password

# INTERVALS
DIDDOC_SYNC_INTERVAL_IN_HOURS=1
DID_SYNC_MAX_CONCURRENT=2
DID_SYNC_ENABLED=false
ENS_SYNC_INTERVAL_IN_HOURS=1
ENS_SYNC_ENABLED=false
DID_SYNC_MODE_FULL=false

# AWS ECR
DOCKER_REGISTRY=
DOCKER_REPOSITORY=
DOCKER_TAG=

# AUTH
ENABLE_AUTH=true
JWT_PRIVATE_KEY=private.pem
JWT_PUBLIC_KEY=public.pem
JWT_PRIVATE_KEY_PATH=private.pem
JWT_PUBLIC_KEY_PATH=public.pem
STRATEGY_CACHE_SERVER=http://localhost:3000/v1/
STRATEGY_PRIVATE_KEY=eab5e5ccb983fad7bf7f5cb6b475a7aea95eff0c6523291b0c0ae38b5855459c
BLOCKNUM_AUTH_ENABLED=false
STRATEGY_NUM_BLOCKS_BACK=10
JWT_ACCESS_TOKEN_EXPIRES_IN=1m
JWT_REFRESH_TOKEN_EXPIRES_IN=2m
SIWE_NONCE_EXPIRES_IN=1m
JWT_ACCESS_TOKEN_NAME=token
JWT_REFRESH_TOKEN_NAME=refreshToken
RESTRICT_CORS_ORIGINS=false
ALLOWED_ORIGINS=https://switchboard-dev.energyweb.org,https://gp4btc-ui-dev.energyweb.org/,https://staking-ui-dev.energyweb.org,https://stedin-dev.energyweb.org

# DID UNIVERSAL RESOLVER
UNIVERSAL_RESOLVER_URL=https://dev.uniresolver.io/1.0/identifiers/
Expand All @@ -73,7 +82,6 @@ SENTRY_DNS=
SENTRY_ENV=
SENTRY_RELEASE=

# LOGS CONFIG
LOGS_DIRECTORY=logs

STATUS_LIST_DOMAIN=http://localhost:3000/v1/

DISABLE_GET_DIDS_BY_ROLE=true
78 changes: 0 additions & 78 deletions .env.dist

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
3 changes: 2 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"extends": ["github>energywebfoundation/shared-configs"],
"assignees": ["Harasz", "JGiter"],
"reviewers": ["Harasz", "jrhender", "JGiter"]
"reviewers": ["Harasz", "jrhender", "JGiter"],
"ignoreDeps": ["didStoreInfura"]
}
Loading

0 comments on commit 1ac937f

Please sign in to comment.