mirror of
https://github.com/lightninglabs/aperture.git
synced 2025-12-17 09:04:19 +01:00
sample-conf: add newer config options to sample conf
This commit is contained in:
@@ -14,19 +14,42 @@ servestatic: false
|
|||||||
# Valid options include: trace, debug, info, warn, error, critical, off.
|
# Valid options include: trace, debug, info, warn, error, critical, off.
|
||||||
debuglevel: "debug"
|
debuglevel: "debug"
|
||||||
|
|
||||||
|
# Custom path to a config file.
|
||||||
|
configfile: "/path/to/your/aperture.yaml"
|
||||||
|
|
||||||
|
# Directory to place all of aperture's files in.
|
||||||
|
basedir: "/path/to/.aperture"
|
||||||
|
|
||||||
# Whether the proxy should create a valid certificate through Let's Encrypt for
|
# Whether the proxy should create a valid certificate through Let's Encrypt for
|
||||||
# the fully qualifying domain name.
|
# the fully qualifying domain name.
|
||||||
autocert: false
|
autocert: false
|
||||||
servername: aperture.example.com
|
servername: aperture.example.com
|
||||||
|
|
||||||
|
# Whether to listen on an insecure connection, disabling TLS for incoming
|
||||||
|
# connections.
|
||||||
|
insecure: false
|
||||||
|
|
||||||
# Whether we should verify the invoice status strictly or not. If set to true,
|
# Whether we should verify the invoice status strictly or not. If set to true,
|
||||||
# then this requires all invoices to be read from disk at start up.
|
# then this requires all invoices to be read from disk at start up.
|
||||||
strictverify: false
|
strictverify: false
|
||||||
|
|
||||||
|
# The number of invoices to fetch in a single request when interacting with LND.
|
||||||
|
invoicebatchsize: 100000
|
||||||
|
|
||||||
# The port on which the pprof profile will be served. If no port is provided,
|
# The port on which the pprof profile will be served. If no port is provided,
|
||||||
# the profile will not be served.
|
# the profile will not be served.
|
||||||
profile: 9999
|
profile: 9999
|
||||||
|
|
||||||
|
# The maximum amount of time a connection may be idle before being closed.
|
||||||
|
# Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
|
||||||
|
idletimeout: 2m
|
||||||
|
|
||||||
|
# The maximum amount of time to wait for a request to be fully read.
|
||||||
|
readtimeout: 15s
|
||||||
|
|
||||||
|
# The maximum amount of time to wait for a response to be fully written.
|
||||||
|
writetimeout: 30s
|
||||||
|
|
||||||
# Settings for the lnd node used to generate payment requests. All of these
|
# Settings for the lnd node used to generate payment requests. All of these
|
||||||
# options are required.
|
# options are required.
|
||||||
authenticator:
|
authenticator:
|
||||||
@@ -80,6 +103,9 @@ sqlite:
|
|||||||
# The full path to the database.
|
# The full path to the database.
|
||||||
dbfile: "/path/to/.aperture/aperture.db"
|
dbfile: "/path/to/.aperture/aperture.db"
|
||||||
|
|
||||||
|
# Skip applying migrations on startup.
|
||||||
|
skipmigrations: false
|
||||||
|
|
||||||
# Settings for the postgres instance which the proxy will use to reliably store
|
# Settings for the postgres instance which the proxy will use to reliably store
|
||||||
# and retrieve token information.
|
# and retrieve token information.
|
||||||
postgres:
|
postgres:
|
||||||
@@ -97,6 +123,9 @@ postgres:
|
|||||||
# server.
|
# server.
|
||||||
requireSSL: true
|
requireSSL: true
|
||||||
|
|
||||||
|
# Skip applying migrations on startup.
|
||||||
|
skipmigrations: false
|
||||||
|
|
||||||
# Settings for the etcd instance which the proxy will use to reliably store and
|
# Settings for the etcd instance which the proxy will use to reliably store and
|
||||||
# retrieve token information.
|
# retrieve token information.
|
||||||
etcd:
|
etcd:
|
||||||
@@ -229,6 +258,10 @@ hashmail:
|
|||||||
messagerate: 20ms
|
messagerate: 20ms
|
||||||
messageburstallowance: 1000
|
messageburstallowance: 1000
|
||||||
|
|
||||||
|
# The time after the last activity that a mailbox should be removed.
|
||||||
|
# Set to -1s to disable. Valid time units are "ns", "us", "ms", "s", "m", "h".
|
||||||
|
staletimeout: -1s # Example: 5m for 5 minutes, or -1s to disable
|
||||||
|
|
||||||
# Enable the prometheus metrics exporter so that a prometheus server can scrape
|
# Enable the prometheus metrics exporter so that a prometheus server can scrape
|
||||||
# the metrics.
|
# the metrics.
|
||||||
prometheus:
|
prometheus:
|
||||||
@@ -242,6 +275,14 @@ logging:
|
|||||||
disable: false
|
disable: false
|
||||||
callsite: off
|
callsite: off
|
||||||
notimestamps: true
|
notimestamps: true
|
||||||
|
|
||||||
|
# Log level for console output.
|
||||||
|
# Valid options include: trace, debug, info, warn, error, critical, off.
|
||||||
|
level: "info"
|
||||||
file:
|
file:
|
||||||
disable: false
|
disable: false
|
||||||
callsite: long
|
callsite: long
|
||||||
|
|
||||||
|
# Log level for file output.
|
||||||
|
# Valid options include: trace, debug, info, warn, error, critical, off.
|
||||||
|
level: "info"
|
||||||
|
|||||||
Reference in New Issue
Block a user