all repos — infra @ 13d143bca8aeaec2447be2ee2089fdbb3bb01f27

infrastructure manifests and setup notes

apps/lms/lms.conf.yaml (view raw)

 1apiVersion: v1
 2data:
 3  lms.conf: |
 4    # LMS Sample configuration file
 5
 6    # Path to the working directory
 7    # Must have write privileges in order to create and modify this directory
 8    working-dir = "/var/lms/";
 9
10    # ffmpeg location
11    ffmpeg-file = "/usr/bin/ffmpeg";
12
13    # Log files, empty means stdout
14    log-file = "";
15    access-log-file = "";
16    # Logger configuration, see log-config in https://webtoolkit.eu/wt/doc/reference/html/overview.html#config_general
17    log-config = "* -debug -info:WebRequest";
18
19    # Listen port/addr of the web server
20    listen-port = 5082;
21    listen-addr = "0.0.0.0";
22    behind-reverse-proxy = true;
23
24    # If enabled, these files have to exist and have correct permissions
25    tls-enable = false;
26    tls-cert = "/var/lms/cert.pem";
27    tls-key = "/var/lms/privkey.pem";
28    tls-dh = "/var/lms/dh2048.pem";
29
30    # Path to the resources used by the web interface.
31    wt-resources = "/usr/share/Wt/resources";
32    docroot = "/etc/lms/docroot/;/resources,/css,/images,/js,/favicon.ico";
33    approot = "/usr/share/lms/approot";
34    # Location for deployment (See README if you want to deploy on a non root path)
35    deploy-path = "/";
36
37    # Number of threads to be used to dispatch http requests (0 means auto detect)
38    http-server-thread-count = 0;
39
40    # ListenBrainz root API
41    listenbrainz-api-url = "https://api.listenbrainz.org/1/";
42
43    # Acousticbrainz root API
44    acousticbrainz-api-url = "https://acousticbrainz.org/api/v1/";
45
46    # Authentication
47    # Available backends: "internal", "PAM", "http-headers"
48    authentication-backend = "internal";
49    http-headers-login-field = "X-Forwarded-User";
50
51    # Max entries in the login throttler (1 entry per IP address. For IPv6, the whole /64 block is used)
52    login-throttler-max-entries = 10000;
53
54    # API
55    api-subsonic = true;
56
57    # Turn on this option to allow the demo account creation/use
58    demo = false;
59
60    # Max external cover file size in MBytes
61    cover-max-file-size = 10;
62
63    # Max cover cache size in MBytes
64    cover-max-cache-size = 30;
65
66    # JPEG quality for covers (range is 1-100)
67    cover-jpeg-quality = 100;    
68kind: ConfigMap
69metadata:
70  name: lms-config