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