2020-02-07 16:36:28 +00:00
# admin peer http listening address
# admin.address: ""
2021-12-09 15:05:21 +00:00
# default duration for AS OF SYSTEM TIME
# admin.console-config.as-of-system-time-duration: -5m0s
2021-11-01 15:27:32 +00:00
# default project limits for users
# admin.console-config.default-project-limit: 1
# enable open registration
# admin.console-config.open-registration-enabled: false
# password hashing cost (0=automatic)
# admin.console-config.password-cost: 0
# whether or not reCAPTCHA is enabled for user registration
# admin.console-config.recaptcha.enabled: false
# reCAPTCHA secret key
# admin.console-config.recaptcha.secret-key: ""
# reCAPTCHA site key
# admin.console-config.recaptcha.site-key: ""
2021-11-18 18:55:37 +00:00
# expiration time for auth tokens, account recovery tokens, and activation tokens
# admin.console-config.token-expiration-time: 24h0m0s
2021-11-01 15:27:32 +00:00
# the default free-tier bandwidth usage limit
# admin.console-config.usage-limits.bandwidth.free: 150.00 GB
# the default paid-tier bandwidth usage limit
# admin.console-config.usage-limits.bandwidth.paid: 100.00 TB
2021-12-06 19:06:50 +00:00
# the default free-tier segment usage limit
2022-01-18 16:08:11 +00:00
# admin.console-config.usage-limits.segment.free: 150000
2021-12-06 19:06:50 +00:00
# the default paid-tier segment usage limit
# admin.console-config.usage-limits.segment.paid: 1000000
2021-11-01 15:27:32 +00:00
# the default free-tier storage usage limit
# admin.console-config.usage-limits.storage.free: 150.00 GB
# the default paid-tier storage usage limit
# admin.console-config.usage-limits.storage.paid: 25.00 TB
2021-10-01 13:26:21 +01:00
# an alternate directory path which contains the static assets to serve. When empty, it uses the embedded assets
# admin.static-dir: ""
2021-03-27 22:43:22 +00:00
# enable analytics reporting
# analytics.enabled: false
2021-12-09 20:52:51 +00:00
# hubspot api key
# analytics.hub-spot.api-key: ""
# the number of events that can be in the queue before dropping
# analytics.hub-spot.channel-size: 1000
# the number of concurrent api requests that can be made
# analytics.hub-spot.concurrent-sends: 4
# the default timeout for the hubspot http client
# analytics.hub-spot.default-timeout: 10s
2021-03-23 15:52:34 +00:00
# segment write key
# analytics.segment-write-key: ""
2019-09-05 16:40:52 +01:00
# how often to run the reservoir chore
# audit.chore-interval: 24h0m0s
2019-05-07 22:20:04 +01:00
# max number of times to attempt updating a statdb batch
2019-05-08 13:14:00 +01:00
# audit.max-retries-stat-db: 3
2019-05-31 16:23:00 +01:00
# limit above which we consider an audit is failed
# audit.max-reverify-count: 3
2019-05-07 22:20:04 +01:00
# the minimum acceptable bytes that storage nodes can transfer per second to the satellite
2019-05-08 13:14:00 +01:00
# audit.min-bytes-per-second: 128 B
2019-06-03 10:17:09 +01:00
# the minimum duration for downloading a share from storage nodes before timing out
2019-11-05 10:21:25 +00:00
# audit.min-download-timeout: 5m0s
2019-06-03 10:17:09 +01:00
2019-09-05 16:40:52 +01:00
# how often to recheck an empty audit queue
# audit.queue-interval: 1h0m0s
# number of reservoir slots allotted for nodes, currently capped at 3
# audit.slots: 3
2020-12-18 10:00:48 +00:00
# number of workers to run audits on segments
2020-05-04 20:50:27 +01:00
# audit.worker-concurrency: 2
2019-08-21 16:49:27 +01:00
2019-06-04 13:13:31 +01:00
# how frequently checker should check for bad segments
2019-05-08 13:14:00 +01:00
# checker.interval: 30s
2020-10-21 23:02:54 +01:00
# the probability of a single node going down within the next checker iteration
# checker.node-failure-rate: 5.435e-05
2019-07-08 23:04:35 +01:00
# how stale reliable node cache can be
# checker.reliability-cache-staleness: 5m0s
2020-10-27 18:26:46 +00:00
# comma-separated override values for repair threshold in the format k/o/n-override (min/optimal/total-override)
2021-01-28 21:55:16 +00:00
# checker.repair-overrides: 29/80/110-52,29/80/95-52,29/80/130-52
2019-10-02 13:58:37 +01:00
2020-03-10 20:42:11 +00:00
# percent of held amount disposed to node after leaving withheld
compensation.dispose-percent: 50
# rate for data at rest per GB/hour
compensation.rates.at-rest-gb-hours: "0.00000205"
# rate for audit egress bandwidth per TB
compensation.rates.get-audit-tb: "10"
# rate for repair egress bandwidth per TB
compensation.rates.get-repair-tb: "10"
# rate for egress bandwidth per TB
compensation.rates.get-tb: "20"
# rate for repair ingress bandwidth per TB
compensation.rates.put-repair-tb: "0"
# rate for ingress bandwidth per TB
compensation.rates.put-tb: "0"
# comma separated monthly withheld percentage rates
compensation.withheld-percents: 75,75,75,50,50,50,25,25,25,0,0,0,0,0,0
2020-03-23 20:38:50 +00:00
# url link for account activation redirect
# console.account-activation-redirect-url: ""
2019-05-07 22:20:04 +01:00
# server address of the graphql api gateway and frontend app
2019-08-05 18:01:20 +01:00
# console.address: :10100
2019-05-08 13:14:00 +01:00
2021-12-09 15:05:21 +00:00
# default duration for AS OF SYSTEM TIME
# console.as-of-system-time-duration: -5m0s
2019-05-07 22:20:04 +01:00
# auth token needed for access to registration token creation endpoint
2019-05-08 13:14:00 +01:00
# console.auth-token: ""
2019-05-28 15:32:51 +01:00
# secret used to sign auth tokens
# console.auth-token-secret: ""
2021-03-11 15:05:06 +00:00
# url link for for beta satellite feedback
# console.beta-satellite-feedback-url: ""
# url link for for beta satellite support
# console.beta-satellite-support-url: ""
2019-09-27 17:48:53 +01:00
# url link to contacts page
# console.contact-info-url: https://forum.storj.io
2021-06-22 01:09:56 +01:00
# indicates if user is allowed to add coupon codes to account from billing
# console.coupon-code-billing-ui-enabled: false
# indicates if user is allowed to add coupon codes to account from signup
# console.coupon-code-signup-ui-enabled: false
2021-02-24 22:35:24 +00:00
2021-04-09 12:37:33 +01:00
# indicates if Content Security Policy is enabled
# console.csp-enabled: true
2020-07-15 16:14:09 +01:00
# default project limits for users
2021-10-24 02:41:41 +01:00
# console.default-project-limit: 1
2020-07-15 16:14:09 +01:00
2021-02-25 01:05:45 +00:00
# url link to documentation
2021-04-09 23:25:25 +01:00
# console.documentation-url: https://docs.storj.io/
2021-02-25 01:05:45 +00:00
2019-05-07 22:20:04 +01:00
# external endpoint of the satellite if hosted
2019-05-08 13:14:00 +01:00
# console.external-address: ""
2021-03-23 20:50:34 +00:00
# indicates if file browser flow is disabled
2021-04-09 19:44:05 +01:00
# console.file-browser-flow-disabled: false
2021-03-23 20:50:34 +00:00
2019-11-21 16:15:22 +00:00
# allow domains to embed the satellite in a frame, space separated
2021-04-09 23:25:25 +01:00
# console.frame-ancestors: tardigrade.io storj.io
2019-11-21 16:15:22 +00:00
2020-11-24 22:29:19 +00:00
# url link for gateway credentials requests
2021-04-09 23:25:25 +01:00
# console.gateway-credentials-request-url: https://auth.us1.storjshare.io
2020-11-24 22:29:19 +00:00
2020-09-04 14:58:50 +01:00
# url link to general request page
2021-04-14 20:07:36 +01:00
# console.general-request-url: https://supportdcs.storj.io/hc/en-us/requests/new?ticket_form_id=360000379291
2020-09-04 14:58:50 +01:00
2022-01-30 13:49:21 +00:00
# inactivity timer delay in seconds
# console.inactivity-timer-delay: 600
# indicates if session can be timed out due inactivity
# console.inactivity-timer-enabled: false
2021-02-23 17:26:24 +00:00
# indicates if satellite is in beta
# console.is-beta-satellite: false
2019-09-27 17:48:53 +01:00
# url link to let us know page
# console.let-us-know-url: https://storjlabs.atlassian.net/servicedesk/customer/portals
2021-04-09 12:56:21 +01:00
# url link for linksharing requests
2021-04-14 04:41:47 +01:00
# console.linksharing-url: https://link.us1.storjshare.io
2021-04-09 12:56:21 +01:00
2021-10-08 11:58:11 +01:00
# indicates if new navigation structure should be rendered
2021-11-16 09:38:42 +00:00
# console.new-navigation: true
2021-10-08 11:58:11 +01:00
2021-11-02 13:36:28 +00:00
# indicates if new objects flow should be used
2021-11-29 14:43:37 +00:00
# console.new-objects-flow: true
2021-11-02 13:36:28 +00:00
2021-11-03 12:16:18 +00:00
# indicates if new project dashboard should be used
# console.new-project-dashboard: false
2020-03-11 15:36:55 +00:00
# enable open registration
# console.open-registration-enabled: false
2021-04-23 15:22:20 +01:00
# names and addresses of partnered satellites in JSON list format
# console.partnered-satellites: '[["US1","https://us1.storj.io"],["EU1","https://eu1.storj.io"],["AP1","https://ap1.storj.io"]]'
2020-05-29 16:36:59 +01:00
testplanet/satellite: reduce the number of places default values need to be configured
Satellites set their configuration values to default values using
cfgstruct, however, it turns out our tests don't test these values
at all! Instead, they have a completely separate definition system
that is easy to forget about.
As is to be expected, these values have drifted, and it appears
in a few cases test planet is testing unreasonable values that we
won't see in production, or perhaps worse, features enabled in
production were missed and weren't enabled in testplanet.
This change makes it so all values are configured the same,
systematic way, so it's easy to see when test values are different
than dev values or release values, and it's less hard to forget
to enable features in testplanet.
In terms of reviewing, this change should be actually fairly
easy to review, considering private/testplanet/satellite.go keeps
the current config system and the new one and confirms that they
result in identical configurations, so you can be certain that
nothing was missed and the config is all correct.
You can also check the config lock to see what actual config
values changed.
Change-Id: I6715d0794887f577e21742afcf56fd2b9d12170e
2021-05-31 22:15:00 +01:00
# password hashing cost (0=automatic)
# console.password-cost: 0
2021-04-09 15:43:10 +01:00
# indicates if the overview onboarding step should render with pathways
2021-04-09 19:44:05 +01:00
# console.pathway-overview-enabled: true
2021-04-09 15:43:10 +01:00
2020-09-04 14:58:50 +01:00
# url link to project limit increase request page
2021-04-14 20:07:36 +01:00
# console.project-limits-increase-request-url: https://supportdcs.storj.io/hc/en-us/requests/new?ticket_form_id=360000683212
2020-09-04 14:58:50 +01:00
2020-04-08 20:40:49 +01:00
# number of events before the limit kicks in
2020-05-08 16:36:45 +01:00
# console.rate-limit.burst: 5
2020-04-08 20:40:49 +01:00
# the rate at which request are allowed
# console.rate-limit.duration: 5m0s
2021-08-17 20:38:34 +01:00
# number of clients whose rate limits we store
2020-04-08 20:40:49 +01:00
# console.rate-limit.num-limits: 1000
2021-06-25 12:17:55 +01:00
# whether or not reCAPTCHA is enabled for user registration
# console.recaptcha.enabled: false
# reCAPTCHA secret key
# console.recaptcha.secret-key: ""
# reCAPTCHA site key
# console.recaptcha.site-key: ""
2019-09-27 17:48:53 +01:00
# used to display at web satellite console
# console.satellite-name: Storj
# name of organization which set up satellite
# console.satellite-operator: Storj Labs
# used to communicate with web crawlers and other web robots
# console.seo: "User-agent: *\nDisallow: \nDisallow: /cgi-bin/"
2019-05-07 22:20:04 +01:00
# path to static resources
2019-05-08 13:14:00 +01:00
# console.static-dir: ""
2019-09-27 17:48:53 +01:00
# url link to terms and conditions page
# console.terms-and-conditions-url: https://storj.io/storage-sla/
2021-11-18 18:55:37 +00:00
# expiration time for auth tokens, account recovery tokens, and activation tokens
# console.token-expiration-time: 24h0m0s
2021-07-01 00:13:45 +01:00
# the default free-tier bandwidth usage limit
2021-10-24 02:41:41 +01:00
# console.usage-limits.bandwidth.free: 150.00 GB
2021-03-22 20:26:59 +00:00
2021-07-01 00:13:45 +01:00
# the default paid-tier bandwidth usage limit
# console.usage-limits.bandwidth.paid: 100.00 TB
2021-12-06 19:06:50 +00:00
# the default free-tier segment usage limit
2022-01-18 16:08:11 +00:00
# console.usage-limits.segment.free: 150000
2021-12-06 19:06:50 +00:00
# the default paid-tier segment usage limit
# console.usage-limits.segment.paid: 1000000
2021-07-01 00:13:45 +01:00
# the default free-tier storage usage limit
2021-10-24 02:41:41 +01:00
# console.usage-limits.storage.free: 150.00 GB
2021-07-01 00:13:45 +01:00
# the default paid-tier storage usage limit
# console.usage-limits.storage.paid: 25.00 TB
2021-03-22 20:26:59 +00:00
2021-11-03 15:36:20 +00:00
# whether to load templates on each request
# console.watch: false
2019-09-19 20:56:34 +01:00
# the public address of the node, useful for nodes behind NAT
contact.external-address: ""
2021-05-16 17:36:53 +01:00
# the maximum burst size for the contact rate limit token bucket
# contact.rate-limit-burst: 2
# the number of nodes or addresses to keep token buckets for
# contact.rate-limit-cache-size: 1000
# the amount of time that should happen between contact attempts usually
# contact.rate-limit-interval: 10m0s
2020-04-02 21:44:51 +01:00
# timeout for pinging storage nodes
# contact.timeout: 10m0s
2019-05-07 22:20:04 +01:00
# satellite database connection string
2019-08-05 18:01:20 +01:00
# database: postgres://
2019-05-08 13:14:00 +01:00
2020-01-10 01:12:27 +00:00
# satellite database api key lru capacity
# database-options.api-keys-cache.capacity: 1000
# satellite database api key expiration
# database-options.api-keys-cache.expiration: 1m0s
2020-06-03 14:51:02 +01:00
# macaroon revocation cache capacity
# database-options.revocations-cache.capacity: 10000
# macaroon revocation cache expiration
# database-options.revocations-cache.expiration: 5m0s
2019-06-05 00:53:38 +01:00
# Maximum Database Connection Lifetime, -1ns means the stdlib default
2020-08-28 16:50:57 +01:00
# db.conn_max_lifetime: 30m0s
2019-06-04 22:30:21 +01:00
2019-06-05 00:53:38 +01:00
# Maximum Amount of Idle Database connections, -1 means the stdlib default
2020-07-08 18:59:42 +01:00
# db.max_idle_conns: 1
2019-06-04 22:30:21 +01:00
2019-06-05 00:53:38 +01:00
# Maximum Amount of Open Database connections, -1 means the stdlib default
2020-07-08 18:59:42 +01:00
# db.max_open_conns: 5
2019-06-04 22:30:21 +01:00
2019-05-07 22:20:04 +01:00
# address to listen on for debug endpoints
2019-08-05 18:01:20 +01:00
# debug.addr: 127.0.0.1:0
2019-05-08 13:14:00 +01:00
2020-01-29 15:37:12 +00:00
# expose control panel
# debug.control: false
2020-02-25 16:46:12 +00:00
# provide the name of the peer to enable continuous cpu/mem profiling for
# debug.profilername: ""
2019-05-07 22:20:04 +01:00
# If set, a path to write a process trace SVG to
2019-05-08 13:14:00 +01:00
# debug.trace-out: ""
2020-04-15 20:20:16 +01:00
# set if expired segment cleanup is enabled or not
# expired-deletion.enabled: true
# the time between each attempt to go through the db and clean up expired segments
2021-04-27 09:31:05 +01:00
# expired-deletion.interval: 24h0m0s
2020-04-15 20:20:16 +01:00
2021-03-22 12:18:04 +00:00
# how many expired objects to query in a batch
# expired-deletion.list-limit: 100
2019-07-24 18:26:43 +01:00
# the number of nodes to concurrently send garbage collection bloom filters to
# garbage-collection.concurrent-sends: 1
# set if garbage collection is enabled or not
2019-08-12 19:30:09 +01:00
# garbage-collection.enabled: true
2019-07-24 18:26:43 +01:00
# the false positive rate used for creating a garbage collection bloom filter
# garbage-collection.false-positive-rate: 0.1
# the initial number of pieces expected for a storage node to have, used for creating a filter
# garbage-collection.initial-pieces: 400000
# the time between each send of garbage collection filters to storage nodes
2019-08-12 19:30:09 +01:00
# garbage-collection.interval: 120h0m0s
2019-07-24 18:26:43 +01:00
2019-12-20 20:26:32 +00:00
# the amount of time to allow a node to handle a retain request
# garbage-collection.retain-send-timeout: 1m0s
testplanet/satellite: reduce the number of places default values need to be configured
Satellites set their configuration values to default values using
cfgstruct, however, it turns out our tests don't test these values
at all! Instead, they have a completely separate definition system
that is easy to forget about.
As is to be expected, these values have drifted, and it appears
in a few cases test planet is testing unreasonable values that we
won't see in production, or perhaps worse, features enabled in
production were missed and weren't enabled in testplanet.
This change makes it so all values are configured the same,
systematic way, so it's easy to see when test values are different
than dev values or release values, and it's less hard to forget
to enable features in testplanet.
In terms of reviewing, this change should be actually fairly
easy to review, considering private/testplanet/satellite.go keeps
the current config system and the new one and confirms that they
result in identical configurations, so you can be certain that
nothing was missed and the config is all correct.
You can also check the config lock to see what actual config
values changed.
Change-Id: I6715d0794887f577e21742afcf56fd2b9d12170e
2021-05-31 22:15:00 +01:00
# interval for AS OF SYSTEM TIME clause (crdb specific) to read from db at a specific time in the past
2021-02-10 18:09:49 +00:00
# graceful-exit.as-of-system-time-interval: -10s
2019-10-07 21:38:05 +01:00
# size of the buffer used to batch inserts into the transfer queue.
# graceful-exit.chore-batch-size: 500
# how often to run the transfer queue chore.
# graceful-exit.chore-interval: 30s
2019-11-01 14:21:24 +00:00
# whether or not graceful exit is enabled on the satellite side.
2019-12-09 17:30:38 +00:00
# graceful-exit.enabled: true
2019-11-01 14:21:24 +00:00
2019-10-11 22:18:05 +01:00
# size of the buffer used to batch transfer queue reads and sends to the storage node.
2020-01-24 21:06:49 +00:00
# graceful-exit.endpoint-batch-size: 300
2019-10-11 22:18:05 +01:00
# maximum number of transfer failures per piece.
2020-01-24 21:06:49 +00:00
# graceful-exit.max-failures-per-piece: 5
2019-10-24 17:24:42 +01:00
# maximum inactive time frame of transfer activities per node.
2019-12-09 17:30:38 +00:00
# graceful-exit.max-inactive-time-frame: 168h0m0s
2019-10-24 17:24:42 +01:00
2019-11-13 14:54:50 +00:00
# maximum number of order limits a satellite sends to a node before marking piece transfer failed
2020-01-24 21:06:49 +00:00
# graceful-exit.max-order-limit-send-count: 10
2019-11-13 14:54:50 +00:00
2019-12-20 21:51:13 +00:00
# minimum age for a node on the network in order to initiate graceful exit
# graceful-exit.node-min-age-in-months: 6
2019-10-24 17:24:42 +01:00
# maximum percentage of transfer failures per node.
# graceful-exit.overall-max-failures-percentage: 10
2019-10-11 22:18:05 +01:00
2019-10-30 17:40:57 +00:00
# the minimum duration for receiving a stream from a storage node before timing out
2020-08-21 23:58:22 +01:00
# graceful-exit.recv-timeout: 2h0m0s
2019-10-30 17:40:57 +00:00
2021-02-10 18:09:49 +00:00
# batch size (crdb specific) for deleting and adding items to the transfer queue
# graceful-exit.transfer-queue-batch-size: 1000
2019-05-07 22:20:04 +01:00
# path to the certificate chain for this identity
2019-08-05 18:01:20 +01:00
identity.cert-path: /root/.local/share/storj/identity/satellite/identity.cert
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# path to the private key for this identity
2019-08-05 18:01:20 +01:00
identity.key-path: /root/.local/share/storj/identity/satellite/identity.key
2019-05-08 13:14:00 +01:00
2021-05-25 18:43:47 +01:00
# as of system interval
# live-accounting.as-of-system-interval: -10s
2020-06-02 00:19:10 +01:00
# bandwidth cache key time to live
# live-accounting.bandwidth-cache-ttl: 5m0s
2019-05-10 02:39:21 +01:00
# what to use for storing real-time accounting data
2019-10-31 17:27:38 +00:00
# live-accounting.storage-backend: ""
2019-05-10 02:39:21 +01:00
2019-05-07 22:20:04 +01:00
# if true, log function filename and line number
2019-05-08 13:14:00 +01:00
# log.caller: false
2019-05-07 22:20:04 +01:00
# if true, set logging to development mode
2019-05-08 13:14:00 +01:00
# log.development: false
2020-09-25 15:47:42 +01:00
# configures log encoding. can either be 'console', 'json', or 'pretty'.
# log.encoding: ""
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# the minimum log level to log
2019-06-13 17:43:39 +01:00
# log.level: info
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# can be stdout, stderr, or a filename
2019-08-05 18:01:20 +01:00
# log.output: stderr
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# if true, log stack traces
2019-05-08 13:14:00 +01:00
# log.stack: false
2019-05-07 22:20:04 +01:00
# smtp authentication type
2019-08-05 18:01:20 +01:00
# mail.auth-type: login
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# oauth2 app's client id
2019-05-08 13:14:00 +01:00
# mail.client-id: ""
2019-05-07 22:20:04 +01:00
# oauth2 app's client secret
2019-05-08 13:14:00 +01:00
# mail.client-secret: ""
2019-05-07 22:20:04 +01:00
# sender email address
2019-05-08 13:14:00 +01:00
# mail.from: ""
2019-05-07 22:20:04 +01:00
# plain/login auth user login
2019-05-08 13:14:00 +01:00
# mail.login: ""
2019-05-07 22:20:04 +01:00
# plain/login auth user password
2019-05-08 13:14:00 +01:00
# mail.password: ""
2019-05-07 22:20:04 +01:00
# refresh token used to retrieve new access token
2019-05-08 13:14:00 +01:00
# mail.refresh-token: ""
2019-05-07 22:20:04 +01:00
# smtp server address
2019-05-08 13:14:00 +01:00
# mail.smtp-server-address: ""
2019-05-07 22:20:04 +01:00
# path to email templates source
2019-05-08 13:14:00 +01:00
# mail.template-path: ""
2019-05-07 22:20:04 +01:00
# uri which is used when retrieving new access token
2019-05-08 13:14:00 +01:00
# mail.token-uri: ""
2019-05-07 22:20:04 +01:00
# the database connection string to use
2019-08-05 18:01:20 +01:00
# metainfo.database-url: postgres://
2019-05-08 13:14:00 +01:00
2019-10-01 17:55:02 +01:00
# maximum time allowed to pass between creating and committing a segment
2019-10-13 16:40:24 +01:00
# metainfo.max-commit-interval: 48h0m0s
2019-10-01 17:55:02 +01:00
2021-07-29 13:08:19 +01:00
# maximum encrypted object key length
# metainfo.max-encrypted-object-key-length: 1280
2019-05-07 22:20:04 +01:00
# maximum inline segment size
2020-04-01 10:15:24 +01:00
# metainfo.max-inline-segment-size: 4.0 KiB
2020-06-01 21:07:31 +01:00
# maximum segment metadata size
# metainfo.max-metadata-size: 2.0 KiB
2021-09-24 15:18:21 +01:00
# maximum number of parts object can contain
# metainfo.max-number-of-parts: 10000
2020-04-01 10:15:24 +01:00
# maximum segment size
# metainfo.max-segment-size: 64.0 MiB
2019-05-08 13:14:00 +01:00
2021-09-24 15:18:21 +01:00
# minimum allowed part size (last part has no minimum size limit)
# metainfo.min-part-size: 5.0 MiB
2019-05-07 22:20:04 +01:00
# minimum remote segment size
2019-05-08 13:14:00 +01:00
# metainfo.min-remote-segment-size: 1.2 KiB
2019-05-07 22:20:04 +01:00
# toggle flag if overlay is enabled
2019-05-08 13:14:00 +01:00
# metainfo.overlay: true
2020-03-12 07:03:46 +00:00
# timeout for dialing nodes (0 means satellite default)
2021-10-28 11:37:01 +01:00
# metainfo.piece-deletion.dial-timeout: 3s
2020-03-12 07:03:46 +00:00
# threshold for retrying a failed node
2021-10-28 11:37:01 +01:00
# metainfo.piece-deletion.fail-threshold: 10m0s
2020-03-12 07:03:46 +00:00
# maximum number of concurrent requests to storage nodes
# metainfo.piece-deletion.max-concurrency: 100
2020-08-17 19:49:44 +01:00
# maximum number of concurrent pieces can be processed
# metainfo.piece-deletion.max-concurrent-pieces: 1000000
2020-03-12 07:03:46 +00:00
# maximum number of pieces per batch
# metainfo.piece-deletion.max-pieces-per-batch: 5000
# maximum number pieces per single request
# metainfo.piece-deletion.max-pieces-per-request: 1000
# timeout for a single delete request
2021-10-28 11:37:01 +01:00
# metainfo.piece-deletion.request-timeout: 15s
2020-03-12 07:03:46 +00:00
2020-06-30 22:49:29 +01:00
# max bucket count for a project.
# metainfo.project-limits.max-buckets: 100
2021-12-14 13:49:33 +00:00
# whether segment limit validation is enabled.
# metainfo.project-limits.validate-segment-limit: false
2020-01-17 15:01:36 +00:00
# number of projects to cache.
# metainfo.rate-limiter.cache-capacity: 10000
2020-01-29 15:22:22 +00:00
# how long to cache the projects limiter.
# metainfo.rate-limiter.cache-expiration: 10m0s
2020-01-17 15:01:36 +00:00
# whether rate limiting is enabled.
# metainfo.rate-limiter.enabled: true
# request rate per project per second.
2022-01-21 22:37:59 +00:00
# metainfo.rate-limiter.rate: 100
2020-01-17 15:01:36 +00:00
2020-10-27 17:34:59 +00:00
# redundancy scheme configuration in the format k/m/o/n-sharesize
# metainfo.rs: 29/35/80/110-256 B
2019-06-21 19:15:58 +01:00
2021-06-10 12:50:38 +01:00
# as of system interval
# metainfo.segment-loop.as-of-system-interval: -5m0s
2021-05-28 10:42:55 +01:00
# how long to wait for new observers before starting iteration
# metainfo.segment-loop.coalesce-duration: 5s
# how many items to query in a batch
# metainfo.segment-loop.list-limit: 2500
# rate limit (default is 0 which is unlimited segments per second)
# metainfo.segment-loop.rate-limit: 0
2021-06-17 17:45:41 +01:00
# ratio where to consider processed count as supicious
# metainfo.segment-loop.suspicious-processed-ratio: 0.03
2022-02-11 10:59:00 +00:00
# enable code for server-side copy
# metainfo.server-side-copy: false
2020-03-27 19:30:36 +00:00
# address(es) to send telemetry to (comma-separated)
2019-08-05 18:01:20 +01:00
# metrics.addr: collectora.storj.io:9000
2019-05-08 13:14:00 +01:00
2021-09-16 16:09:07 +01:00
# application name for telemetry identification. Ignored for certain applications.
2019-08-05 18:01:20 +01:00
# metrics.app: satellite
2019-05-08 13:14:00 +01:00
2021-09-16 16:09:07 +01:00
# application suffix. Ignored for certain applications.
2019-08-05 18:01:20 +01:00
# metrics.app-suffix: -release
2019-05-08 13:14:00 +01:00
2019-06-24 23:45:37 +01:00
# instance id prefix
# metrics.instance-prefix: ""
2021-09-16 16:09:07 +01:00
# how frequently to send up telemetry. Ignored for certain applications.
2019-05-08 13:14:00 +01:00
# metrics.interval: 1m0s
2019-05-07 22:20:04 +01:00
# path to log for oom notices
2019-08-05 18:01:20 +01:00
# monkit.hw.oomlog: /var/log/kern.log
2019-05-08 13:14:00 +01:00
2020-08-27 15:30:04 +01:00
# encryption keys to encrypt info in orders
# orders.encryption-keys: ""
2019-06-21 11:38:40 +01:00
# how long until an order expires
2020-01-24 20:12:09 +00:00
# orders.expiration: 48h0m0s
2019-06-21 11:38:40 +01:00
2020-01-10 18:53:42 +00:00
# how many items in the rollups write cache before they are flushed to the database
2021-02-17 19:57:43 +00:00
# orders.flush-batch-size: 1000
2020-01-10 18:53:42 +00:00
# how often to flush the rollups write cache to the database
# orders.flush-interval: 1m0s
2020-10-09 21:22:57 +01:00
# how many concurrent orders to process at once. zero is unlimited
# orders.orders-semaphore-size: 2
2021-10-29 18:44:44 +01:00
# the location of the maxmind database containing geoip country information
# overlay.geo-ip.db: ""
# a mock list of countries the satellite will attribute to nodes (useful for testing)
# overlay.geo-ip.mock-countries: '[]'
2021-06-15 17:32:12 +01:00
# the amount of time to wait before accepting a redundant check-in from a node (unmodified info since last check-in)
# overlay.node-check-in-wait-period: 2h0m0s
2020-05-06 14:05:31 +01:00
# disable node cache
2020-05-19 18:25:53 +01:00
# overlay.node-selection-cache.disabled: false
2020-05-06 14:05:31 +01:00
2020-04-24 17:11:04 +01:00
# how stale the node selection cache can be
# overlay.node-selection-cache.staleness: 3m0s
2020-12-22 19:07:07 +00:00
# default duration for AS OF SYSTEM TIME
# overlay.node.as-of-system-time.default-interval: -10s
# enables the use of the AS OF SYSTEM TIME feature in CRDB
# overlay.node.as-of-system-time.enabled: true
2019-05-22 21:06:27 +01:00
# require distinct IPs when choosing nodes for upload
# overlay.node.distinct-ip: true
2020-02-10 20:59:29 +00:00
# how much disk space a node at minimum must have to be selected for upload
2020-08-10 11:13:21 +01:00
# overlay.node.minimum-disk-space: 500.00 MB
2020-02-10 20:59:29 +00:00
2019-05-07 22:20:04 +01:00
# the minimum node software version for node selection queries
2019-05-08 13:14:00 +01:00
# overlay.node.minimum-version: ""
2020-03-18 21:16:13 +00:00
# the fraction of new nodes allowed per request
# overlay.node.new-node-fraction: 0.05
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# the amount of time without seeing a node before its considered offline
2019-09-18 19:57:57 +01:00
# overlay.node.online-window: 4h0m0s
2019-05-08 13:14:00 +01:00
2019-07-31 18:21:06 +01:00
# number of update requests to process per transaction
# overlay.update-stats-batch-size: 100
2020-01-24 13:38:53 +00:00
# amount of percents that user will earn as bonus credits by depositing in STORJ tokens
# payments.bonus-rate: 10
2020-01-28 23:36:54 +00:00
# price user should pay for each TB of egress
2021-04-14 19:14:58 +01:00
# payments.egress-tb-price: "7"
2019-11-15 14:27:44 +00:00
2020-04-08 11:19:06 +01:00
# price node receive for storing TB of audit in cents
# payments.node-audit-bandwidth-price: 1000
# price node receive for storing disk space in cents/TB
# payments.node-disk-space-price: 150
# price node receive for storing TB of egress in cents
# payments.node-egress-bandwidth-price: 2000
# price node receive for storing TB of repair in cents
# payments.node-repair-bandwidth-price: 1000
2019-11-05 20:26:19 +00:00
# payments provider to use
# payments.provider: ""
2021-10-20 23:54:34 +01:00
# price user should pay for each segment stored in network per month
# payments.segment-price: "0"
2020-01-28 23:36:54 +00:00
# price user should pay for storing TB per month
2021-04-14 19:14:58 +01:00
# payments.storage-tb-price: "4"
2020-01-28 23:36:54 +00:00
2019-11-05 20:26:19 +00:00
# amount of time we wait before running next account balance update loop
2020-05-29 21:21:27 +01:00
# payments.stripe-coin-payments.account-balance-update-interval: 2m0s
2019-11-05 20:26:19 +00:00
2020-03-13 16:07:39 +00:00
# toogle autoadvance feature for invoice creation
# payments.stripe-coin-payments.auto-advance: false
2019-11-05 20:26:19 +00:00
# coinpayments API private key key
# payments.stripe-coin-payments.coinpayments-private-key: ""
# coinpayments API public key
# payments.stripe-coin-payments.coinpayments-public-key: ""
2019-11-15 14:59:39 +00:00
# amount of time we wait before running next conversion rates update loop
# payments.stripe-coin-payments.conversion-rates-cycle-interval: 10m0s
2021-05-10 18:12:05 +01:00
# stripe free tier coupon ID
# payments.stripe-coin-payments.stripe-free-tier-coupon-id: ""
2019-11-18 11:38:43 +00:00
# stripe API public key
# payments.stripe-coin-payments.stripe-public-key: ""
2019-11-05 20:26:19 +00:00
# stripe API secret key
# payments.stripe-coin-payments.stripe-secret-key: ""
# amount of time we wait before running next transaction update loop
2020-05-29 21:21:27 +01:00
# payments.stripe-coin-payments.transaction-update-interval: 2m0s
2019-11-05 20:26:19 +00:00
2020-07-07 15:48:09 +01:00
# how often to remove unused project bandwidth rollups
# project-bw-cleanup.interval: 168h0m0s
# number of months of project bandwidth rollups to retain, not including the current month
# project-bw-cleanup.retain-months: 2
2020-09-09 20:20:44 +01:00
# number of projects to cache.
# project-limit.cache-capacity: 10000
# how long to cache the project limits.
# project-limit.cache-expiration: 10m0s
2019-10-30 20:31:08 +00:00
# time limit for downloading pieces from a node for repair
# repairer.download-timeout: 5m0s
2020-03-18 23:55:09 +00:00
# whether to download pieces for repair in memory (true) or download to disk (false)
# repairer.in-memory-repair: false
2019-06-04 13:13:31 +01:00
# how frequently repairer should try and repair more data
2019-12-09 15:56:52 +00:00
# repairer.interval: 5m0s
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# maximum buffer memory (in bytes) to be allocated for read buffers
testplanet/satellite: reduce the number of places default values need to be configured
Satellites set their configuration values to default values using
cfgstruct, however, it turns out our tests don't test these values
at all! Instead, they have a completely separate definition system
that is easy to forget about.
As is to be expected, these values have drifted, and it appears
in a few cases test planet is testing unreasonable values that we
won't see in production, or perhaps worse, features enabled in
production were missed and weren't enabled in testplanet.
This change makes it so all values are configured the same,
systematic way, so it's easy to see when test values are different
than dev values or release values, and it's less hard to forget
to enable features in testplanet.
In terms of reviewing, this change should be actually fairly
easy to review, considering private/testplanet/satellite.go keeps
the current config system and the new one and confirms that they
result in identical configurations, so you can be certain that
nothing was missed and the config is all correct.
You can also check the config lock to see what actual config
values changed.
Change-Id: I6715d0794887f577e21742afcf56fd2b9d12170e
2021-05-31 22:15:00 +01:00
# repairer.max-buffer-mem: 4.0 MiB
2019-05-08 13:14:00 +01:00
2019-07-11 23:44:47 +01:00
# ratio applied to the optimal threshold to calculate the excess of the maximum number of repaired pieces to upload
# repairer.max-excess-rate-optimal-threshold: 0.05
2019-05-07 22:20:04 +01:00
# maximum segments that can be repaired concurrently
2019-05-08 13:14:00 +01:00
# repairer.max-repair: 5
2019-05-07 22:20:04 +01:00
# time limit for uploading repaired pieces to new storage nodes
2019-11-18 17:52:56 +00:00
# repairer.timeout: 5m0s
2019-05-08 13:14:00 +01:00
2020-01-08 18:33:15 +00:00
# time limit for an entire repair job, from queue pop to upload completion
# repairer.total-timeout: 45m0s
2021-06-23 00:09:39 +01:00
# the number of times a node has been audited to not be considered a New Node
# reputation.audit-count: 100
# the reputation cut-off for disqualifying SNs based on audit history
# reputation.audit-dq: 0.6
# The length of time to give suspended SNOs to diagnose and fix issues causing downtime. Afterwards, they will have one tracking period to reach the minimum online score before disqualification
# reputation.audit-history.grace-period: 168h0m0s
# whether nodes will be disqualified if they have low online score after a review period
# reputation.audit-history.offline-dq-enabled: false
# whether nodes will be suspended if they have low online score
# reputation.audit-history.offline-suspension-enabled: true
# The point below which a node is punished for offline audits. Determined by calculating the ratio of online/total audits within each window and finding the average across windows within the tracking period.
# reputation.audit-history.offline-threshold: 0.6
# The length of time to track audit windows for node suspension and disqualification
# reputation.audit-history.tracking-period: 720h0m0s
# The length of time spanning a single audit window
# reputation.audit-history.window-size: 12h0m0s
# the forgetting factor used to calculate the audit SNs reputation
# reputation.audit-lambda: 0.95
# weight to apply to audit reputation for total repair reputation calculation
# reputation.audit-repair-weight: 1
# weight to apply to audit reputation for total uplink reputation calculation
# reputation.audit-uplink-weight: 1
# the normalization weight used to calculate the audit SNs reputation
# reputation.audit-weight: 1
# whether nodes will be disqualified if they have been suspended for longer than the suspended grace period
# reputation.suspension-dq-enabled: false
# the time period that must pass before suspended nodes will be disqualified
# reputation.suspension-grace-period: 168h0m0s
2020-11-30 19:34:42 +00:00
# age at which a rollup is archived
# rollup-archive.archive-age: 2160h0m0s
# number of records to delete per delete execution. Used only for crdb which is slow without limit.
# rollup-archive.batch-size: 500
# whether or not the rollup archive is enabled.
# rollup-archive.enabled: true
# how frequently rollup archiver should run
# rollup-archive.interval: 24h0m0s
2019-05-07 22:20:04 +01:00
# option for deleting tallies after they are rolled up
2019-12-18 00:07:06 +00:00
# rollup.delete-tallies: true
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# how frequently rollup should run
2019-05-08 13:14:00 +01:00
# rollup.interval: 24h0m0s
2019-05-07 22:20:04 +01:00
# public address to listen on
2019-08-05 18:01:20 +01:00
server.address: :7777
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# if true, client leaves may contain the most recent certificate revocation for the current certificate
2019-05-08 13:14:00 +01:00
# server.extensions.revocation: true
2019-05-07 22:20:04 +01:00
# if true, client leaves must contain a valid "signed certificate extension" (NB: verified against certs in the peer ca whitelist; i.e. if true, a whitelist must be provided)
2019-05-08 13:14:00 +01:00
# server.extensions.whitelist-signed-leaf: false
2019-05-07 22:20:04 +01:00
# path to the CA cert whitelist (peer identities must be signed by one these to be verified). this will override the default peer whitelist
2019-05-08 13:14:00 +01:00
# server.peer-ca-whitelist-path: ""
2019-05-07 22:20:04 +01:00
# identity version(s) the server will be allowed to talk to
2019-08-05 18:01:20 +01:00
# server.peer-id-versions: latest
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# private address to listen on
2019-08-05 18:01:20 +01:00
server.private-address: 127.0.0.1:7778
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# url for revocation database (e.g. bolt://some.db OR redis://127.0.0.1:6378?db=2&password=abc123)
2019-08-05 18:01:20 +01:00
# server.revocation-dburl: bolt://testdata/revocations.db
2019-05-08 13:14:00 +01:00
2019-05-07 22:20:04 +01:00
# if true, uses peer ca whitelist checking
2019-05-21 12:48:47 +01:00
# server.use-peer-ca-whitelist: true
2019-05-08 13:14:00 +01:00
2020-12-31 18:43:13 +00:00
# whether nodes will be disqualified if they have not been contacted in some time
2021-03-15 17:07:18 +00:00
# stray-nodes.enable-dq: true
2020-12-31 18:43:13 +00:00
# how often to check for and DQ stray nodes
# stray-nodes.interval: 168h0m0s
2021-03-15 20:48:36 +00:00
# Max number of nodes to return in a single query. Chore will iterate until rows returned is less than limit
# stray-nodes.limit: 1000
2020-12-31 18:43:13 +00:00
# length of time a node can go without contacting satellite before being disqualified
# stray-nodes.max-duration-without-contact: 720h0m0s
2021-07-01 12:29:25 +01:00
# as of system interval
# tally.as-of-system-interval: -5m0s
2019-05-07 22:20:04 +01:00
# how frequently the tally service should run
2019-05-08 13:14:00 +01:00
# tally.interval: 1h0m0s
2021-07-01 12:29:25 +01:00
# how many objects to query in a batch
# tally.list-limit: 2500
2020-11-29 16:13:06 +00:00
# how large of batches GetBandwidthSince should process at a time
# tally.read-rollup-batch-size: 10000
2020-11-28 20:54:52 +00:00
# how large of batches SaveRollup should process at a time
# tally.save-rollup-batch-size: 1000
2020-03-30 16:22:32 +01:00
# address for jaeger agent
2020-06-03 21:19:35 +01:00
# tracing.agent-addr: agent.tracing.datasci.storj.io:5775
2020-03-30 16:22:32 +01:00
# application name for tracing identification
# tracing.app: satellite
# application suffix
# tracing.app-suffix: -release
# buffer size for collector batch packet size
# tracing.buffer-size: 0
2020-04-24 19:09:59 +01:00
# whether tracing collector is enabled
# tracing.enabled: false
2020-04-21 22:04:26 +01:00
# how frequently to flush traces to tracing agent
2020-04-15 13:56:27 +01:00
# tracing.interval: 0s
2020-03-30 16:22:32 +01:00
# buffer size for collector queue size
# tracing.queue-size: 0
2020-04-21 22:04:26 +01:00
# how frequent to sample traces
2020-03-30 16:22:32 +01:00
# tracing.sample: 0
2019-05-07 22:20:04 +01:00
# Interval to check the version
2019-05-08 13:14:00 +01:00
# version.check-interval: 15m0s
2019-05-07 22:20:04 +01:00
# Request timeout for version checks
2019-05-08 13:14:00 +01:00
# version.request-timeout: 1m0s
2019-05-07 22:20:04 +01:00
# server address to check its version against
2019-09-25 21:55:38 +01:00
# version.server-address: https://version.storj.io
2021-05-06 12:54:10 +01:00
# set if zombie object cleanup is enabled or not
2021-12-21 12:26:18 +00:00
# zombie-deletion.enabled: true
2021-05-06 12:54:10 +01:00
# after what time object will be deleted if there where no new upload activity
# zombie-deletion.inactive-for: 24h0m0s
# the time between each attempt to go through the db and clean up zombie objects
# zombie-deletion.interval: 12h0m0s
# how many objects to query in a batch
# zombie-deletion.list-limit: 100