Commit 28f54779 authored by Ivan Vandot's avatar Ivan Vandot Committed by GitHub

fix default config values and bump version inside docker-compose.yml (#1327)

parent f9aaf29b
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
## initial nodes to connect to (default [/dnsaddr/bootnode.ethswarm.org]) ## initial nodes to connect to (default [/dnsaddr/bootnode.ethswarm.org])
# bootnode: [/dnsaddr/bootnode.ethswarm.org] # bootnode: [/dnsaddr/bootnode.ethswarm.org]
## enable clef signer ## enable clef signer
# clef-signer-enable: false clef-signer-enable: true
## clef signer endpoint ## clef signer endpoint
clef-signer-endpoint: /var/lib/bee-clef/clef.ipc clef-signer-endpoint: /var/lib/bee-clef/clef.ipc
## config file (default is /home/<user>/.bee.yaml) ## config file (default is /home/<user>/.bee.yaml)
...@@ -17,9 +17,9 @@ data-dir: /var/lib/bee ...@@ -17,9 +17,9 @@ data-dir: /var/lib/bee
## db capacity in chunks, multiply by 4096 to get approximate capacity in bytes ## db capacity in chunks, multiply by 4096 to get approximate capacity in bytes
# db-capacity: 5000000 # db-capacity: 5000000
## debug HTTP API listen address (default ":1635") ## debug HTTP API listen address (default ":1635")
# debug-api-addr: 127.0.0.1:1635 debug-api-addr: 127.0.0.1:1635
## enable debug HTTP API ## enable debug HTTP API
# debug-api-enable: false debug-api-enable: true
## disable a set of sensitive features in the api ## disable a set of sensitive features in the api
# gateway-mode: false # gateway-mode: false
## enable global pinning ## enable global pinning
...@@ -38,12 +38,12 @@ data-dir: /var/lib/bee ...@@ -38,12 +38,12 @@ data-dir: /var/lib/bee
# password: "" # password: ""
## path to a file that contains password for decrypting keys ## path to a file that contains password for decrypting keys
password-file: /var/lib/bee/password password-file: /var/lib/bee/password
## amount in BZZ below the peers payment threshold when we initiate settlement (default 10000) ## amount in BZZ below the peers payment threshold when we initiate settlement (default 1000000000000)
# payment-early: 10000 # payment-early: 1000000000000
## threshold in BZZ where you expect to get paid from your peers (default 100000) ## threshold in BZZ where you expect to get paid from your peers (default 10000000000000)
# payment-threshold: 100000 # payment-threshold: 10000000000000
## excess debt above payment threshold in BZZ where you disconnect from your peer (default 10000) ## excess debt above payment threshold in BZZ where you disconnect from your peer (default 50000000000000)
# payment-tolerance: 10000 # payment-tolerance: 50000000000000
## ENS compatible API endpoint for a TLD and with contract address, can be repeated, format [tld:][contract-addr@]url ## ENS compatible API endpoint for a TLD and with contract address, can be repeated, format [tld:][contract-addr@]url
# resolver-options: [] # resolver-options: []
## whether we want the node to start with no listen addresses for p2p ## whether we want the node to start with no listen addresses for p2p
...@@ -54,8 +54,8 @@ password-file: /var/lib/bee/password ...@@ -54,8 +54,8 @@ password-file: /var/lib/bee/password
swap-endpoint: https://rpc.slock.it/goerli swap-endpoint: https://rpc.slock.it/goerli
## swap factory address ## swap factory address
# swap-factory-address: "" # swap-factory-address: ""
## initial deposit if deploying a new chequebook (default 100000000) ## initial deposit if deploying a new chequebook (default 100000000000000000)
# swap-initial-deposit: 100000000 # swap-initial-deposit: 100000000000000000
## enable tracing ## enable tracing
# tracing-enable: false # tracing-enable: false
## endpoint to send tracing data (default "127.0.0.1:6831") ## endpoint to send tracing data (default "127.0.0.1:6831")
......
...@@ -9,12 +9,9 @@ wget -q https://raw.githubusercontent.com/ethersphere/bee/master/packaging/docke ...@@ -9,12 +9,9 @@ wget -q https://raw.githubusercontent.com/ethersphere/bee/master/packaging/docke
``` ```
Set all configuration variables inside `.env` Set all configuration variables inside `.env`
To configure `clef` set: `clef` is configured with `CLEF_CHAINID=5` for goerli
- `CLEF_CHAINID=5` for goerli
To configure `bee` set: To configure `bee` set:
- `BEE_CLEF_SIGNER_ENABLE=true` to enable clef support
- `BEE_CLEF_SIGNER_ENDPOINT=http://clef:8550`
- `BEE_SWAP_ENDPOINT=https://rpc.slock.it/goerli` - `BEE_SWAP_ENDPOINT=https://rpc.slock.it/goerli`
Set bee password by either setting `BEE_PASSWORD` or `BEE_PASSWORD_FILE` Set bee password by either setting `BEE_PASSWORD` or `BEE_PASSWORD_FILE`
......
...@@ -2,7 +2,7 @@ version: "3" ...@@ -2,7 +2,7 @@ version: "3"
services: services:
clef-1: clef-1:
image: ethersphere/clef:0.4.7 image: ethersphere/clef:0.4.8
restart: unless-stopped restart: unless-stopped
environment: environment:
- CLEF_CHAINID - CLEF_CHAINID
...@@ -11,13 +11,13 @@ services: ...@@ -11,13 +11,13 @@ services:
command: full command: full
bee-1: bee-1:
image: ethersphere/bee:0.5.0 image: ethersphere/bee:0.5.1
restart: unless-stopped restart: unless-stopped
environment: environment:
- BEE_API_ADDR - BEE_API_ADDR
- BEE_BOOTNODE - BEE_BOOTNODE
- BEE_CLEF_SIGNER_ENABLE - BEE_CLEF_SIGNER_ENABLE
- BEE_CLEF_SIGNER_ENDPOINT - BEE_CLEF_SIGNER_ENDPOINT=http://clef-1:8550
- BEE_CONFIG - BEE_CONFIG
- BEE_CORS_ALLOWED_ORIGINS - BEE_CORS_ALLOWED_ORIGINS
- BEE_DATA_DIR - BEE_DATA_DIR
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
### CLEF ### CLEF
## chain id to use for signing (1=mainnet, 3=ropsten, 4=rinkeby, 5=goerli) (default: 12345) ## chain id to use for signing (1=mainnet, 3=ropsten, 4=rinkeby, 5=goerli) (default: 12345)
# CLEF_CHAINID=12345 CLEF_CHAINID=5
### BEE ### BEE
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
## initial nodes to connect to (default [/dnsaddr/bootnode.ethswarm.org]) ## initial nodes to connect to (default [/dnsaddr/bootnode.ethswarm.org])
# BEE_BOOTNODE=[/dnsaddr/bootnode.ethswarm.org] # BEE_BOOTNODE=[/dnsaddr/bootnode.ethswarm.org]
## enable clef signer ## enable clef signer
# BEE_CLEF_SIGNER_ENABLE=false BEE_CLEF_SIGNER_ENABLE=true
## clef signer endpoint ## clef signer endpoint
# BEE_CLEF_SIGNER_ENDPOINT= # BEE_CLEF_SIGNER_ENDPOINT=
## config file (default is /home/<user>/.bee.yaml) ## config file (default is /home/<user>/.bee.yaml)
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
## initial nodes to connect to (default [/dnsaddr/bootnode.ethswarm.org]) ## initial nodes to connect to (default [/dnsaddr/bootnode.ethswarm.org])
# bootnode: [/dnsaddr/bootnode.ethswarm.org] # bootnode: [/dnsaddr/bootnode.ethswarm.org]
## enable clef signer ## enable clef signer
# clef-signer-enable: false clef-signer-enable: true
## clef signer endpoint ## clef signer endpoint
clef-signer-endpoint: /usr/local/var/lib/swarm-clef/clef.ipc clef-signer-endpoint: /usr/local/var/lib/swarm-clef/clef.ipc
## config file (default is /home/<user>/.bee.yaml) ## config file (default is /home/<user>/.bee.yaml)
...@@ -17,9 +17,9 @@ data-dir: /usr/local/var/lib/swarm-bee ...@@ -17,9 +17,9 @@ data-dir: /usr/local/var/lib/swarm-bee
## db capacity in chunks, multiply by 4096 to get approximate capacity in bytes ## db capacity in chunks, multiply by 4096 to get approximate capacity in bytes
# db-capacity: 5000000 # db-capacity: 5000000
## debug HTTP API listen address (default ":1635") ## debug HTTP API listen address (default ":1635")
# debug-api-addr: 127.0.0.1:1635 debug-api-addr: 127.0.0.1:1635
## enable debug HTTP API ## enable debug HTTP API
# debug-api-enable: false debug-api-enable: true
## disable a set of sensitive features in the api ## disable a set of sensitive features in the api
# gateway-mode: false # gateway-mode: false
## enable global pinning ## enable global pinning
...@@ -38,12 +38,12 @@ data-dir: /usr/local/var/lib/swarm-bee ...@@ -38,12 +38,12 @@ data-dir: /usr/local/var/lib/swarm-bee
# password: "" # password: ""
## path to a file that contains password for decrypting keys ## path to a file that contains password for decrypting keys
password-file: /usr/local/var/lib/swarm-bee/password password-file: /usr/local/var/lib/swarm-bee/password
## amount in BZZ below the peers payment threshold when we initiate settlement (default 10000) ## amount in BZZ below the peers payment threshold when we initiate settlement (default 1000000000000)
# payment-early: 10000 # payment-early: 1000000000000
## threshold in BZZ where you expect to get paid from your peers (default 100000) ## threshold in BZZ where you expect to get paid from your peers (default 10000000000000)
# payment-threshold: 100000 # payment-threshold: 10000000000000
## excess debt above payment threshold in BZZ where you disconnect from your peer (default 10000) ## excess debt above payment threshold in BZZ where you disconnect from your peer (default 50000000000000)
# payment-tolerance: 10000 # payment-tolerance: 50000000000000
## ENS compatible API endpoint for a TLD and with contract address, can be repeated, format [tld:][contract-addr@]url ## ENS compatible API endpoint for a TLD and with contract address, can be repeated, format [tld:][contract-addr@]url
# resolver-options: [] # resolver-options: []
## whether we want the node to start with no listen addresses for p2p ## whether we want the node to start with no listen addresses for p2p
...@@ -54,8 +54,8 @@ password-file: /usr/local/var/lib/swarm-bee/password ...@@ -54,8 +54,8 @@ password-file: /usr/local/var/lib/swarm-bee/password
swap-endpoint: https://rpc.slock.it/goerli swap-endpoint: https://rpc.slock.it/goerli
## swap factory address ## swap factory address
# swap-factory-address: "" # swap-factory-address: ""
## initial deposit if deploying a new chequebook (default 100000000) ## initial deposit if deploying a new chequebook (default 100000000000000000)
# swap-initial-deposit: 100000000 # swap-initial-deposit: 100000000000000000
## enable tracing ## enable tracing
# tracing-enable: false # tracing-enable: false
## endpoint to send tracing data (default "127.0.0.1:6831") ## endpoint to send tracing data (default "127.0.0.1:6831")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment