zipline: add more settings
decided to wipe zipline's db and restart to fix it behaving oddly, motivated me to do this edit: it did not work (goofy read-only fs error even when it has 777 permissions??)
This commit is contained in:
parent
61cc4edc95
commit
ca1d1d0a32
1 changed files with 13 additions and 1 deletions
|
|
@ -21,12 +21,24 @@
|
||||||
services.zipline = {
|
services.zipline = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
CORE_DEFAULT_DOMAIN = "zipline.wo2wz.fyi";
|
||||||
CORE_PORT = 8001;
|
CORE_PORT = 8001;
|
||||||
|
CORE_TRUST_PROXY = "true";
|
||||||
|
CORE_RETURN_HTTPS_URLS = "true";
|
||||||
|
|
||||||
DATASOURCE_LOCAL_DIRECTORY = "/mnt/external/storage/zipline/uploads";
|
DATASOURCE_LOCAL_DIRECTORY = "/mnt/external/storage/zipline/uploads";
|
||||||
|
|
||||||
FEATURES_VERSION_CHECKING = "false";
|
FEATURES_VERSION_CHECKING = "false";
|
||||||
FEATURES_THUMBNAILS_NUM_THREADS = 2;
|
FEATURES_THUMBNAILS_NUM_THREADS = 2;
|
||||||
FEATURES_OAUTH_REGISTRATION = "true";
|
FEATURES_ROBOTS_TXT = "false";
|
||||||
|
INVITES_ENABLED = "false";
|
||||||
|
|
||||||
|
MFA_TOTP_ENABLED = "true";
|
||||||
|
MFA_PASSKEYS = "true";
|
||||||
|
|
||||||
|
FILES_MAX_FILE_SIZE = "3091283091716487142128741263894122347014687124687124614791824619246129491246128461841279468127468912461924612974182746182468712468126487912648126481256487126491672941974612945618274610289417846192849712471eb";
|
||||||
|
FILES_ASSUME_MIMETYPES = "true";
|
||||||
|
FILES_REMOVE_GPS_METADATA = "true";
|
||||||
};
|
};
|
||||||
environmentFiles = [ config.sops.secrets."zipline/secrets.env".path ];
|
environmentFiles = [ config.sops.secrets."zipline/secrets.env".path ];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue