Add submission file root path option to the specs and config

This commit is contained in:
Tina_Azure
2023-07-11 18:55:32 +02:00
parent 582c9bb316
commit dd044a11d8
4 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ cavecomm
example.crt
example.key
.idea/
log.txt

0
setupdb.sh Executable file → Normal file
View File

View File

@ -243,6 +243,7 @@ mandatory:
emailServerAddress
databaseConnectionString={postgresql://{user}:{password}@{host}:{port}/{database}}
domain
submissionFileRootPath Path to a folder in which the freelancer submissions are stored
Optional if CROW_ENABLE_SSL not defined
sslCrtPath=

View File

@ -8,6 +8,7 @@
# emailPassword=
# emailServerAddress=
# domain=
# submissionFileRootPath=
# Optional if CROW_ENABLE_SSL not defined
# sslCrtPath=
@ -51,6 +52,7 @@ itemsPerPage=5;
bruteForceMitigationLockSeconds=900;
bruteForceMitigationAttempts=5;
submissionFileRootPath=./submissions;
submissionMaxFileSizeMB=8;
submissionMaxtotalStorageMB=16;
submissionMaxStorageDurationH=24;