bvm-paperless: add more paperless env variables

This commit is contained in:
Luke Granger-Brown 2022-06-29 21:39:56 +01:00
parent 5f19f9d783
commit f9f7542da5

View file

@ -25,8 +25,10 @@ in {
enable = true; enable = true;
address = config.my.ip.tailscale; address = config.my.ip.tailscale;
extraConfig = { extraConfig = {
PAPERLESS_URL = "https://paperless.int.lukegb.com";
PAPERLESS_ALLOWED_HOSTS = "paperless.int.lukegb.com,bvm-paperless.int.as205479.net:28981,bvm-paperless.int.as205479.net"; PAPERLESS_ALLOWED_HOSTS = "paperless.int.lukegb.com,bvm-paperless.int.as205479.net:28981,bvm-paperless.int.as205479.net";
PAPERLESS_CORS_ALLOWED_HOSTS = "https://paperless.int.lukegb.com,http://bvm-paperless.int.as205479.net:28981"; PAPERLESS_CORS_ALLOWED_HOSTS = "https://paperless.int.lukegb.com,http://bvm-paperless.int.as205479.net:28981";
PAPERLESS_CSRF_TRUSTED_ORIGINS = "https://paperless.int.lukegb.com,http://bvm-paperless.int.as205479.net:28981";
PAPERLESS_ENABLE_HTTP_REMOTE_USER = "true"; PAPERLESS_ENABLE_HTTP_REMOTE_USER = "true";
PAPERLESS_DBHOST = "/run/postgresql"; PAPERLESS_DBHOST = "/run/postgresql";
PAPERLESS_DBPASS = ""; PAPERLESS_DBPASS = "";