feat: allow passing variables to docker-compose and fix var name (#2821)
This commit is contained in:
parent
208f075b72
commit
11e432d341
|
@ -72,7 +72,7 @@ keys:
|
|||
|
||||
start: keys/nodekey keys/nodeaddr
|
||||
@echo " * $(GRN)Starting '$(CONTAINER_NAME)' container...$(RST)"
|
||||
docker-compose up -d
|
||||
docker-compose $(COMPOSE_UP_FLAGS) up -d
|
||||
|
||||
stop:
|
||||
@echo " * $(YLW)Stopping '$(CONTAINER_NAME)' container...$(RST)"
|
||||
|
|
|
@ -32,3 +32,4 @@ All settings are passed through environment variables:
|
|||
* `CONTAINER_TAG` - Tag of container image to use. (default: `v0.64.3`)
|
||||
* `CONTAINER_NAME` - Name of the container that will be created. (default: `status-go-bootnode`)
|
||||
* `LOG_LEVEL` - Set level of log messages to show. (valid: `1=ERROR`, `2=WARN`, `3=INFO`, `4=DEBUG`, `5=TRACE`)
|
||||
* `COMPOSE_UP_FLAGS` - Allows passing flags to `docker-compose up`
|
||||
|
|
|
@ -71,7 +71,7 @@ logs:
|
|||
|
||||
start: config
|
||||
@echo " * $(GRN)Starting '$(CONTAINER_NAME)' container...$(RST)"
|
||||
docker-compose up -d
|
||||
docker-compose $(COMPOSE_UP_FLAGS) up -d
|
||||
|
||||
stop:
|
||||
@echo " * $(YLW)Stopping '$(CONTAINER_NAME)' container...$(RST)"
|
||||
|
|
|
@ -37,6 +37,7 @@ All settings are passed through environment variables:
|
|||
* `REGISTER_TOPIC` - Mynamic mailserver discovery topic. (default: `whispermail`)
|
||||
* `MAIL_PASSWORD` - Basic HTTP auth password for mailserver. (default: `status-offline-inbox`)
|
||||
* `LOG_LEVEL` - Set level of log messages to show. (valid: `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE`)
|
||||
* `COMPOSE_UP_FLAGS` - Allows passing flags to `docker-compose up`
|
||||
|
||||
The generated configuration file end up under `${DATA_PATH}/config.json`.
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
|
|||
# Settings & defaults
|
||||
RPC_HOST="${RPC_HOST:-localhost}"
|
||||
RPC_PORT="${RPC_PORT:-8545}"
|
||||
LISTEN_PORT="${LSTEN_PORT:-30303}"
|
||||
LISTEN_PORT="${LISTEN_PORT:-30303}"
|
||||
API_MODULES="${API_MODULES:-eth,web3,admin}"
|
||||
MAX_PEERS="${MAX_PEERS:-50}"
|
||||
DAYS_KEPT="${DAYS_KEPT-30}"
|
||||
|
|
Loading…
Reference in New Issue