@@ -14,15 +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+
32+ # Whether we should verify the invoice status strictly or not. If set to true,
33+ # then this requires all invoices to be read from disk at start up.
34+ strictverify : false
35+
36+ # The number of invoices to fetch in a single request when interacting with LND.
37+ invoicebatchsize : 100000
38+
2239# The port on which the pprof profile will be served. If no port is provided,
2340# the profile will not be served.
2441profile : 9999
2542
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+
2653# Settings for the lnd node used to generate payment requests. All of these
2754# options are required.
2855authenticator :
@@ -76,6 +103,9 @@ sqlite:
76103 # The full path to the database.
77104 dbfile : " /path/to/.aperture/aperture.db"
78105
106+ # Skip applying migrations on startup.
107+ skipmigrations : false
108+
79109# Settings for the postgres instance which the proxy will use to reliably store
80110# and retrieve token information.
81111postgres :
@@ -93,6 +123,9 @@ postgres:
93123 # server.
94124 requireSSL : true
95125
126+ # Skip applying migrations on startup.
127+ skipmigrations : false
128+
96129# Settings for the etcd instance which the proxy will use to reliably store and
97130# retrieve token information.
98131etcd :
@@ -224,6 +257,10 @@ hashmail:
224257 enabled : true
225258 messagerate : 20ms
226259 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
227264
228265# Enable the prometheus metrics exporter so that a prometheus server can scrape
229266# the metrics.
@@ -238,6 +275,14 @@ logging:
238275 disable : false
239276 callsite : off
240277 notimestamps : true
278+
279+ # Log level for console output.
280+ # Valid options include: trace, debug, info, warn, error, critical, off.
281+ level : " info"
241282 file :
242283 disable : false
243284 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