Skip to content

Releases: debridge-finance/debridge-launcher

v1.1.4

24 Dec 19:14
bdc44fc
Compare
Choose a tag to compare

What's Changed

  • temporary removed ipfs and orbitdb service
  • applied halborn security audit

Full Changelog: v1.1.3...v1.1.4

How to update to v1.1.4

1. Pull latest changes

git checkout master
git pull

2. Add env vars to .env file:

THROTTLER_TTL=60
THROTTLER_LIMIT=10

3. Run

docker-compose up -d --remove-orphans

v1.1.3

20 Dec 16:57
e62d032
Compare
Choose a tag to compare

What's Changed

  • add timeout for Web3 requests

Full Changelog: v1.1.2...v1.1.3

How to update to v1.1.3

1. Pull latest changes

git checkout master
git pull

2. Run

docker-compose up -d

v1.1.2

08 Dec 19:55
83eb0a3
Compare
Choose a tag to compare

What's Changed

  • add checker for chains_config
  • fix config volume mounting
  • send debridge-node version to the debridge
  • create public ipfs-daemon image

Full Changelog: v1.1.1...v1.1.2

How to update to v1.1.2

1. Pull latest changes

git checkout master
git pull

2. Run

docker-compose up -d

v.1.1.1

27 Nov 19:37
Compare
Choose a tag to compare
  • A component responsible for storing data in IPFS was moved to a separate service - orbitdb
  • Fix LogConfirmNewAssets sending to orbitdb
  • Add new env vars for orbitdb service and update .default.env to use specific sections for each service

How to update to v1.1.1

1. Fetch and checkout to the right tag

git fetch && git checkout v1.1.1

2. Since the new orbitdb service was created, you should add following envs to your .env file:

 - ORBITDB_JWT_SECRET # JWT random string. We recommend using upper and lower case symbols, numbers. The length should be at least 30 characters.
 - ORBITDB_LOGIN # create a login to orbitdb API authentication
 - ORBITDB_PASSWORD # create a strong password to orbitdb API authentication
 - ORBITDB_PORT=3000
 - ORBITDB_NODE_OPTIONS=--max_old_space_size=8192
 - DEBRIDGE_NODE_NODE_OPTIONS=--max_old_space_size=8192
 - ORBITDB_URL=http://orbitdb${DOCKER_ID}:${ORBITDB_PORT} # ORBITDB_PORT and DOCKER_ID should be set before ORBITDB_URL

changed env vars

Note: you can find the full list of env vars that you should need to setting up at the .default.env file. The simplest way to check if your .env file is up to date is to backup current .env file, recreate it from .default.env and update it with your values from your original .env.backup file:

cp .env .env.backup
cp .default.env .env
vi .env

3. Run

docker-compose up -d

v.1.1.0

25 Nov 20:48
03bd477
Compare
Choose a tag to compare
  • Move orbitdb to a separate service
  • Add checker for chains_config RPC correctness
  • Add monitorings (mounts to the stats directory at host)
  • Add node options for debridge-node and orbitdb to the .env
  • Disable postgres logging for debridge-node

How to update to v1.1.0

# pull the latest version
git pull
git checkout v1.1.0

# update .env file:
# 1. add env var `ORBITDB_NODE_OPTION=--max_old_space_size=8192`
# 2. add env var `DEBRIDGE_NODE_NODE_OPTION=--max_old_space_size=8192`
# you can find the full list of env vars at `.default.env` 

# if `./config/chains_config.json` doesn't exist create it from `./config/chains_config_default.json`
cp ./config/chains_config_default.json ./config/chains_config.json
#  and update ./config/chains_config.json with your values

# run new version
docker-compose up —build -d

v1.0.2

19 Nov 23:54
956923f
Compare
Choose a tag to compare

What's Changed

  • .env: update vars for postgres and add variable IPFS_URL
  • debridge-node: add timeout for http requests
  • ipfs-daemon: config node with entrypoint.sh script
  • docker-compose.yml: update env vars for debridge-node service

27.10.2021

27 Oct 16:47
5e40ea1
Compare
Choose a tag to compare
  • Change javascript instance of IPFS to separate service, which runs go-IPFS daemon.
  • Move orbitdb mounting directory on the host to the top level at ./data/orbitdb.
  • Added ARBITRUM testnet to config/chains_config.json
  • Added Sentry. If you are using sentry, please update SENTRY_DSN at .env file.
  • Removed DEBRIDGE_API_ACCESS_KEY. We support validators auth by singing message with private key

How to migrate

# stop running containers 
docker-compose down -v

# remove old directories with ipfs and orbitdb data
rm -r ./debridge_node/ipfs/ ./debridge_node/orbitdb/

# get the latest changes
git pull

# run containers
docker-compose up --build -d

# update config for IPFS daemon
docker-compose exec ipfs_daemon ipfs config profile apply server

# add all pinners addresses to the IPFS bootstrap list. You can find full pinners list in the `pinners list` section.
docker-compose exec ipfs_daemon ipfs bootstrap add "/ip4/139.59.164.64/tcp/4001/p2p/12D3KooWA84FLvoJb2QPut134ej9s4hukwmwpZ5DQXbebNBfogdk"
docker-compose exec ipfs_daemon ipfs bootstrap add "/ip4/161.35.31.27/tcp/4001/p2p/12D3KooWAfR9K7y4Y63dbCJ3io58dgTtFM3F2nycFWLo1LJg3Z1k"
docker-compose exec ipfs_daemon ipfs bootstrap add "/ip4/164.90.237.61/tcp/4001/p2p/12D3KooWDZxx4TMUjQzqqQAdZKUWNWAamcoBkMWBKfNnfLMSM6mP"


# restart containers
docker-compose restart

# check if any errors occured
docker-compose logs -f | grep -i "error"