Skip to content

Commit c423063

Browse files
committed
sample-conf: add newer config options to sample conf
1 parent de4dc22 commit c423063

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

sample-conf.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,42 @@ servestatic: false
1414
# Valid options include: trace, debug, info, warn, error, critical, off.
1515
debuglevel: "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.
1925
autocert: false
2026
servername: 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.
2434
strictverify: 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.
2841
profile: 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.
3255
authenticator:
@@ -76,6 +99,9 @@ sqlite:
7699
# The full path to the database.
77100
dbfile: "/path/to/.aperture/aperture.db"
78101

102+
# Skip applying migrations on startup.
103+
skipmigrations: false
104+
79105
# Settings for the postgres instance which the proxy will use to reliably store
80106
# and retrieve token information.
81107
postgres:
@@ -93,6 +119,9 @@ postgres:
93119
# server.
94120
requireSSL: true
95121

122+
# Skip applying migrations on startup.
123+
skipmigrations: false
124+
96125
# Settings for the etcd instance which the proxy will use to reliably store and
97126
# retrieve token information.
98127
etcd:
@@ -213,6 +242,10 @@ hashmail:
213242
enabled: true
214243
messagerate: 20ms
215244
messageburstallowance: 1000
245+
246+
# The time after the last activity that a mailbox should be removed.
247+
# Set to -1s to disable. Valid time units are "ns", "us", "ms", "s", "m", "h".
248+
staletimeout: -1s # Example: 5m for 5 minutes, or -1s to disable
216249

217250
# Enable the prometheus metrics exporter so that a prometheus server can scrape
218251
# the metrics.
@@ -227,6 +260,14 @@ logging:
227260
disable: false
228261
callsite: off
229262
notimestamps: true
263+
264+
# Log level for console output.
265+
# Valid options include: trace, debug, info, warn, error, critical, off.
266+
level: "info"
230267
file:
231268
disable: false
232269
callsite: long
270+
271+
# Log level for file output.
272+
# Valid options include: trace, debug, info, warn, error, critical, off.
273+
level: "info"

0 commit comments

Comments
 (0)