mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-12-02 05:57:21 +01:00
Group brizo's env vars in its own .env file and load it into the docker-compose file.
This commit is contained in:
parent
b965e9977a
commit
73ff958e90
23
brizo.env
Executable file
23
brizo.env
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
# Use this file to set the env vars required for Brizo.
|
||||||
|
|
||||||
|
KEEPER_URL=http://parity-node:8545
|
||||||
|
LOCAL_CONTRACTS=true
|
||||||
|
KEEPER_NETWORK_NAME=ocean_poa_net_local
|
||||||
|
|
||||||
|
SECRET_STORE_URL=http://secret-store:12001
|
||||||
|
PARITY_URL=http://parity-node:8545
|
||||||
|
# Set a valid parity address and password to have seamless interaction with the `keeper`
|
||||||
|
PARITY_ADDRESS=
|
||||||
|
PARITY_PASSWORD=
|
||||||
|
|
||||||
|
AQUARIUS_URL=http://aquarius:5000
|
||||||
|
BRIZO_URL=http://brizo:8030
|
||||||
|
|
||||||
|
AZURE_ACCOUNT_NAME=
|
||||||
|
AZURE_ACCOUNT_KEY=
|
||||||
|
AZURE_RESOURCE_GROUP=
|
||||||
|
AZURE_LOCATION=westus
|
||||||
|
AZURE_CLIENT_ID=
|
||||||
|
AZURE_CLIENT_SECRET=
|
||||||
|
AZURE_TENANT_ID=
|
||||||
|
AZURE_SUBSCRIPTION_ID=
|
@ -113,11 +113,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- keeper-contracts
|
- keeper-contracts
|
||||||
- parity-node
|
- parity-node
|
||||||
environment:
|
env_file:
|
||||||
KEEPER_URL: http://parity-node:8545
|
- ${BRIZO_ENV_FILE}
|
||||||
LOCAL_CONTRACTS: "true"
|
|
||||||
KEEPER_NETWORK_NAME: ${KEEPER_NETWORK_NAME}
|
|
||||||
AQUARIUS_URL: http://aquarius:5000
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
|
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
|
||||||
|
|
||||||
|
@ -50,9 +50,8 @@ services:
|
|||||||
- backend
|
- backend
|
||||||
depends_on:
|
depends_on:
|
||||||
- keeper-contracts
|
- keeper-contracts
|
||||||
environment:
|
env_file:
|
||||||
KEEPER_URL: http://keeper-contracts:8545
|
- ${BRIZO_ENV_FILE}
|
||||||
LOCAL_CONTRACTS: "true"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
|
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
|
||||||
|
|
||||||
|
@ -50,9 +50,8 @@ services:
|
|||||||
- backend
|
- backend
|
||||||
depends_on:
|
depends_on:
|
||||||
- keeper-contracts
|
- keeper-contracts
|
||||||
environment:
|
env_file:
|
||||||
KEEPER_URL: http://keeper-contracts:8545
|
- ${BRIZO_ENV_FILE}
|
||||||
LOCAL_CONTRACTS: "true"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
|
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
|
||||||
|
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Must be set to true for the first run, change it to "false" to avoid migrating the smart contracts on each run.
|
# Must be set to true for the first run, change it to "false" to avoid migrating the smart contracts on each run.
|
||||||
export DEPLOY_CONTRACTS="true"
|
export DEPLOY_CONTRACTS="false"
|
||||||
# Ganache specific option, these two options have no effect when not running ganache-cli
|
# Ganache specific option, these two options have no effect when not running ganache-cli
|
||||||
export GANACHE_DATABASE_PATH="."
|
export GANACHE_DATABASE_PATH="."
|
||||||
export REUSE_DATABASE="false"
|
export REUSE_DATABASE="false"
|
||||||
# Specify which ethereum client to run or connect to: kovan, ganache, or ocean_poa_net_local
|
# Specify which ethereum client to run or connect to: kovan, ganache, or ocean_poa_net_local
|
||||||
export KEEPER_NETWORK_NAME="ganache"
|
export KEEPER_NETWORK_NAME="ganache"
|
||||||
export ARTIFACTS_FOLDER=~/.ocean/keeper-contracts/artifacts
|
export ARTIFACTS_FOLDER=~/.ocean/keeper-contracts/artifacts
|
||||||
|
export BRIZO_ENV_FILE=./brizo.env
|
||||||
|
|
||||||
# colors
|
# colors
|
||||||
COLOR_R="\033[0;31m" # red
|
COLOR_R="\033[0;31m" # red
|
||||||
|
Loading…
x
Reference in New Issue
Block a user