@@ -14,19 +14,42 @@ servestatic: false
1414# Valid options include: trace, debug, info, warn, error, critical, off.
1515debuglevel : " debug"
1616
17+ # Custom path to a config file.
18+ configfile : " /path/to/your/aperture.yaml"
19+
20+ # Directory to place all of aperture's files in.
21+ basedir : " /path/to/.aperture"
22+
1723# Whether the proxy should create a valid certificate through Let's Encrypt for
1824# the fully qualifying domain name.
1925autocert : false
2026servername : aperture.example.com
2127
28+ # Whether to listen on an insecure connection, disabling TLS for incoming
29+ # connections.
30+ insecure : false
31+
2232# Whether we should verify the invoice status strictly or not. If set to true,
2333# then this requires all invoices to be read from disk at start up.
2434strictverify : false
2535
36+ # The number of invoices to fetch in a single request when interacting with LND.
37+ invoicebatchsize : 100000
38+
2639# The port on which the pprof profile will be served. If no port is provided,
2740# the profile will not be served.
2841profile : 9999
2942
43+ # The maximum amount of time a connection may be idle before being closed.
44+ # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
45+ idletimeout : 2m
46+
47+ # The maximum amount of time to wait for a request to be fully read.
48+ readtimeout : 15s
49+
50+ # The maximum amount of time to wait for a response to be fully written.
51+ writetimeout : 30s
52+
3053# Settings for the lnd node used to generate payment requests. All of these
3154# options are required.
3255authenticator :
@@ -80,6 +103,9 @@ sqlite:
80103 # The full path to the database.
81104 dbfile : " /path/to/.aperture/aperture.db"
82105
106+ # Skip applying migrations on startup.
107+ skipmigrations : false
108+
83109# Settings for the postgres instance which the proxy will use to reliably store
84110# and retrieve token information.
85111postgres :
@@ -97,6 +123,9 @@ postgres:
97123 # server.
98124 requireSSL : true
99125
126+ # Skip applying migrations on startup.
127+ skipmigrations : false
128+
100129# Settings for the etcd instance which the proxy will use to reliably store and
101130# retrieve token information.
102131etcd :
@@ -228,6 +257,10 @@ hashmail:
228257 enabled : true
229258 messagerate : 20ms
230259 messageburstallowance : 1000
260+
261+ # The time after the last activity that a mailbox should be removed.
262+ # Set to -1s to disable. Valid time units are "ns", "us", "ms", "s", "m", "h".
263+ staletimeout : -1s # Example: 5m for 5 minutes, or -1s to disable
231264
232265# Enable the prometheus metrics exporter so that a prometheus server can scrape
233266# the metrics.
@@ -242,6 +275,14 @@ logging:
242275 disable : false
243276 callsite : off
244277 notimestamps : true
278+
279+ # Log level for console output.
280+ # Valid options include: trace, debug, info, warn, error, critical, off.
281+ level : " info"
245282 file :
246283 disable : false
247284 callsite : long
285+
286+ # Log level for file output.
287+ # Valid options include: trace, debug, info, warn, error, critical, off.
288+ level : " info"
0 commit comments