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.crt
example.key example.key
.idea/ .idea/
log.txt

0
setupdb.sh Executable file → Normal file
View File

View File

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

View File

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