Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Commit

Permalink
Change default images used for CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Nov 6, 2018
1 parent 62211c3 commit 346bc4a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
15 changes: 11 additions & 4 deletions conf/local.conf.example
Expand Up @@ -23,15 +23,22 @@ DEFAULT_MNEMONIC="this is your local private mnemonic no body should know about"
MNEMONIC="${MNEMONIC:-$DEFAULT_MNEMONIC}"

# Version
# - IMPORTANT: For PRODUCTION environemt use a fixed version (especially if you use the bots)
# - You can use any version in https://hub.docker.com/r/gnosispm/dx-services/tags/
# - By default it uses master, because it's the last stable version
# - You can set it to to a fixed version (i.e. v0.6.12)
# - You can use latest unstable version: development
DX_SERVICE_VERSION=staging
# - You can set it to to a fixed version (i.e. v0.7.9)
# - You can use latest unastable version: development
# - You can use the master branch: staging
#DX_SERVICE_VERSION=v0.7.9

# Increase debug messages
#DEBUG_MESSAGES=DEBUG=ERROR-*,WARN-*,INFO-*,DEBUG-*

# Show colors in the logged messages
#SHOW_COLORS=true

# Node
#ETHEREUM_RPC_URL="https://${NETWORK}.infura.io"

# Optionally, you can add env vars in your local conf
# For example:
# - Change the default gas price used from average to safeLow or fast
Expand Down
4 changes: 4 additions & 0 deletions util/base-bots.sh
Expand Up @@ -18,6 +18,10 @@ BOTS_CONTAINER_CONF_DIR=/usr/src/app/custom_conf
BOTS_CONFIG_INFO="Bots config file: $BOTS_CONF_FILE"
BOTS_LOCAL_CONF_DIR="$(pwd)/$BOTS_CONF_DIR"

# For PRO, please use fixed version
# https://hub.docker.com/r/gnosispm/dx-services/tags/
DX_SERVICE_VERSION=${DX_SERVICE_VERSION:-stable}

# Extra config for the bots
read -r -d '' DOCKER_PARAMS_BOTS << EOM
--mount type=bind,source=$BOTS_LOCAL_CONF_DIR,destination=$BOTS_CONTAINER_CONF_DIR
Expand Down
2 changes: 1 addition & 1 deletion util/base.sh
Expand Up @@ -14,7 +14,7 @@
# Config
NETWORK=${NETWORK:-rinkeby}
ETHEREUM_RPC_URL="https://${NETWORK}.infura.io"
DX_SERVICE_VERSION=staging # Check: https://hub.docker.com/r/gnosispm/dx-services/tags/
DX_SERVICE_VERSION=${DX_SERVICE_VERSION:-staging} # Check: https://hub.docker.com/r/gnosispm/dx-services/tags/
SHOW_COLORS=true
DEBUG_MESSAGES=DEBUG=ERROR-*,WARN-*,INFO-*
ENVIRONMENT=pro # local, pre, pro
Expand Down

0 comments on commit 346bc4a

Please sign in to comment.