Docker - Phase 1
Setup Postgres, Docker, Pull Plugin Docker Image & Setup Plugin Node
Step 1 - Download the Plugin Installation Script
git clone -b docker_branch_v1 https://github.com/GoPlugin/plugin-deployment.git && cd plugin-deploymentStep 2 - Postgres Setup
perl -i -p -e 's/plugin1234/yourpassword/g' postgresInstall.bash plugin.env ei.envperl -i -p -e 's/plugin1234/mypassword/g' postgresInstall.bash plugin.env ei.envWhat's inside the plugin.env?
ETH_CHAIN_ID=50
ETH_URL=wss://pluginws.blocksscan.io
MIN_OUTGOING_CONFIRMATIONS=2
PLI_CONTRACT_ADDRESS=0xff7412ea7c8445c46a8254dfb557ac1e48094391
PLUGIN_TLS_PORT=0
SECURE_COOKIES=false
ALLOW_ORIGINS=*
DATABASE_TIMEOUT=0
FEATURE_EXTERNAL_INITIATORS=true
PLUGIN_DEV=true
DATABASE_URL=postgresql://postgres:[email protected]:5432/plugin_mainnet_db?sslmode=disable
ENABLE_EXPERIMENTAL_ADAPTERS=true
POSTGRES_USER=postgres
POSTGRES_PASSWORD=plugin1234
POSTGRES_DB=plugin_mainnet_dbStep 3 - Setup Docker
Step 4 - Pull Plugin image

Step 6 - Change your credentials

Step 7 - Override the Image ID in the below command and run the docker container

Step 8 - Get the container ID using the below command

Video Tutorial for this section -
Last updated
