-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmemory-basic.yaml
More file actions
50 lines (45 loc) · 1.75 KB
/
memory-basic.yaml
File metadata and controls
50 lines (45 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Memory-based configuration for basic testing and development
# All data stored in memory, lost on restart
# Suitable for unit tests and quick development iterations
lnurl-service:
partitions: [ "default" ]
address: "${LNURL_SERVICE_ADDRESS:-127.0.0.1:8080}"
health-check-frequency-secs: 1.0
parallel-health-check: true
health-check-consecutive-success-to-healthy: 1
health-check-consecutive-failure-to-unhealthy: 1
backend-update-frequency-secs: 1.0
invoice-expiry-secs: 180
ln-client-timeout-secs: 2.0
ln-trusted-roots: ${LN_TRUSTED_ROOTS:-}
allowed-hosts: [ "${LNURL_SERVICE_ALLOWED_HOSTS:-}" ]
backoff:
type: "exponential"
max-elapsed-time-secs: 2.5
backend-selection: "round-robin"
selection-capacity-bias: -0.2
tls:
cert-path: "${LNURL_SERVICE_TLS_CERT_PATH:-/etc/ssl/certs/lnurl-cert.pem}"
key-path: "${LNURL_SERVICE_TLS_KEY_PATH:-/etc/ssl/certs/lnurl-key.pem}"
bech32-qr-scale: 8
bech32-qr-light: 255
bech32-qr-dark: 0
discovery-service:
address: "${DISCOVERY_SERVICE_ADDRESS:-127.0.0.1:8081}"
auth-authority: "${DISCOVERY_SERVICE_AUTH_AUTHORITY_PATH:-/etc/ssl/certs/discovery-auth-authority.pem}"
tls:
cert-path: "${DISCOVERY_SERVICE_TLS_CERT_PATH:-/etc/ssl/certs/discovery-cert.pem}"
key-path: "${DISCOVERY_SERVICE_TLS_KEY_PATH:-/etc/ssl/certs/discovery-key.pem}"
offer-service:
address: "${OFFER_SERVICE_ADDRESS:-127.0.0.1:8082}"
auth-authority: "${OFFER_SERVICE_AUTH_AUTHORITY_PATH:-/etc/ssl/certs/offer-auth-authority.pem}"
tls:
cert-path: "${OFFER_SERVICE_TLS_CERT_PATH:-/etc/ssl/certs/offer-cert.pem}"
key-path: "${OFFER_SERVICE_TLS_KEY_PATH:-/etc/ssl/certs/offer-key.pem}"
max-page-size: 100
store:
offer:
type: "memory"
discover:
type: "memory"
secrets: ${SECRETS_PATH:-}