Commit 25bbc4f2 authored by Ivan Vandot's avatar Ivan Vandot Committed by GitHub

add new config options to package config files (#1462)

parent a1cddc8a
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# api-addr: :1633 # api-addr: :1633
## 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]
## cause the node to always accept incoming connections
# bootnode-mode: false
## enable clef signer ## enable clef signer
clef-signer-enable: true clef-signer-enable: true
## clef signer endpoint ## clef signer endpoint
...@@ -16,6 +18,14 @@ config: /etc/bee/bee.yaml ...@@ -16,6 +18,14 @@ config: /etc/bee/bee.yaml
data-dir: /var/lib/bee 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
## number of open files allowed by database
# db-open-files-limit: 200
## size of block cache of the database in bytes
# db-block-cache-capacity: 33554432
## size of the database write buffer in bytes
# db-write-buffer-size: 33554432
## disables db compactions triggered by seeks
# db-disable-seeks-compaction: false
## 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
......
...@@ -16,12 +16,17 @@ services: ...@@ -16,12 +16,17 @@ services:
environment: environment:
- BEE_API_ADDR - BEE_API_ADDR
- BEE_BOOTNODE - BEE_BOOTNODE
- BEE_BOOTNODE_MODE
- BEE_CLEF_SIGNER_ENABLE - BEE_CLEF_SIGNER_ENABLE
- BEE_CLEF_SIGNER_ENDPOINT=http://clef-1:8550 - 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
- BEE_DB_CAPACITY - BEE_DB_CAPACITY
- BEE_DB_OPEN_FILES_LIMIT
- BEE_DB_BLOCK_CACHE_CAPACITY
- BEE_DB_WRITE_BUFFER_SIZE
- BEE_DB_DISABLE_SEEKS_COMPACTION
- BEE_DEBUG_API_ADDR - BEE_DEBUG_API_ADDR
- BEE_DEBUG_API_ENABLE - BEE_DEBUG_API_ENABLE
- BEE_GATEWAY_MODE - BEE_GATEWAY_MODE
......
...@@ -11,6 +11,8 @@ CLEF_CHAINID=5 ...@@ -11,6 +11,8 @@ CLEF_CHAINID=5
# BEE_API_ADDR=:1633 # BEE_API_ADDR=:1633
## 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]
## cause the node to always accept incoming connections
# BEE_BOOTNODE_MODE=false
## enable clef signer ## enable clef signer
BEE_CLEF_SIGNER_ENABLE=true BEE_CLEF_SIGNER_ENABLE=true
## clef signer endpoint ## clef signer endpoint
...@@ -23,6 +25,14 @@ BEE_CLEF_SIGNER_ENABLE=true ...@@ -23,6 +25,14 @@ BEE_CLEF_SIGNER_ENABLE=true
# BEE_DATA_DIR=/home/bee/.bee # BEE_DATA_DIR=/home/bee/.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
# BEE_DB_CAPACITY=5000000 # BEE_DB_CAPACITY=5000000
## number of open files allowed by database
# BEE_DB_OPEN_FILES_LIMIT=200
## size of block cache of the database in bytes
# BEE_DB_BLOCK_CACHE_CAPACITY=33554432
## size of the database write buffer in bytes
# BEE_DB_WRITE_BUFFER_SIZE=33554432
## disables db compactions triggered by seeks
# BEE_DB_DISABLE_SEEKS_COMPACTION=false
## debug HTTP API listen address (default :1635) ## debug HTTP API listen address (default :1635)
# BEE_DEBUG_API_ADDR=:1635 # BEE_DEBUG_API_ADDR=:1635
## enable debug HTTP API ## enable debug HTTP API
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# api-addr: :1633 # api-addr: :1633
## 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]
## cause the node to always accept incoming connections
# bootnode-mode: false
## enable clef signer ## enable clef signer
clef-signer-enable: true clef-signer-enable: true
## clef signer endpoint ## clef signer endpoint
...@@ -16,6 +18,14 @@ config: /usr/local/etc/swarm-bee/bee.yaml ...@@ -16,6 +18,14 @@ config: /usr/local/etc/swarm-bee/bee.yaml
data-dir: /usr/local/var/lib/swarm-bee 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
## number of open files allowed by database
# db-open-files-limit: 200
## size of block cache of the database in bytes
# db-block-cache-capacity: 33554432
## size of the database write buffer in bytes
# db-write-buffer-size: 33554432
## disables db compactions triggered by seeks
# db-disable-seeks-compaction: false
## 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
......
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