Add gas price env var in docker compose
This commit is contained in:
parent
59da04ed6e
commit
885bb75377
@ -11,7 +11,7 @@ faucet_amount=${DEV_FAUCET_AMOUNT:-0}
|
|||||||
keystore_file=$(realpath ./keystore/UTC--2021-01-08T17-18-44.521011372Z--eb3907ecad74a0013c259d5874ae7f22dcbcc95c)
|
keystore_file=$(realpath ./keystore/UTC--2021-01-08T17-18-44.521011372Z--eb3907ecad74a0013c259d5874ae7f22dcbcc95c)
|
||||||
|
|
||||||
if [ ! -z $DEV_ETH_ACCOUNT_GAS_PRICE ]; then
|
if [ ! -z $DEV_ETH_ACCOUNT_GAS_PRICE ]; then
|
||||||
gas_price_arg="--gas-price $DEV_ETH_ACCOUNT_GAS_PRICE"
|
gas_price_arg="--gas-price $DEV_ETH_GAS_PRICE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $DEV_TOKEN_TYPE != 'giftable' && $DEV_TOKEN_TYPE != 'sarafu' ]]; then
|
if [[ $DEV_TOKEN_TYPE != 'giftable' && $DEV_TOKEN_TYPE != 'sarafu' ]]; then
|
||||||
|
@ -105,6 +105,7 @@ services:
|
|||||||
DEV_FAUCET_AMOUNT: ${DEV_FAUCET_AMOUNT:-0}
|
DEV_FAUCET_AMOUNT: ${DEV_FAUCET_AMOUNT:-0}
|
||||||
DEV_TOKEN_TYPE: ${DEV_TOKEN_TYPE:-giftable}
|
DEV_TOKEN_TYPE: ${DEV_TOKEN_TYPE:-giftable}
|
||||||
DEV_SARAFU_DEMURRAGE_LEVEL: ${DEV_SARAFU_DEMURRAGE_LEVEL:-196454828847045000000000000000000}
|
DEV_SARAFU_DEMURRAGE_LEVEL: ${DEV_SARAFU_DEMURRAGE_LEVEL:-196454828847045000000000000000000}
|
||||||
|
DEV_ETH_GAS_PRICE: ${DEV_ETH_GAS_PRICE:-1}
|
||||||
command: ["./run_job.sh"]
|
command: ["./run_job.sh"]
|
||||||
#command: ["./reset.sh"]
|
#command: ["./reset.sh"]
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
Reference in New Issue
Block a user