Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server.address=0.0.0.0
- filestorage.server.port=12088
- filestorage.internalHost=192.168.9.217
- filestorage.externalAddress=http://192.168.9.217:12088
- server.tomcat.max-threads=100
- # максимальное кол-во ссылок за один вызов /putExtLinks
- filestorage.extLinks.putExtLinksMaxBatchSize=10
- multipart.enabled=true
- multipart.max-file-size=100Mb
- multipart.max-request-size=101Mb
- multipart.file-size-threshold=5Mb
- fileSystem=local
- fileSystem.local.basedir=/u01/filestorage/filestorage/data
- fileSystem.local.depth=5
- fileSystem.local.dirSize=1024
- fileSystem.local.compress=false
- fileSystem.s3.endpoint=192.168.9.217:9000
- fileSystem.s3.accessKey=U3UYD3TGC7SC49USDNHL
- fileSystem.s3.secretKey=HnNzc8KjqvrtrznepmhLRBOB/jTGWsDKJT8+hVSR
- # если размер загружаемого файла превышает это значение, то будет использован временный файл
- fileSystem.s3.useTempFileWhenFileSizeGreaterThan=262144
- fileSystem.s3.clientConfiguration.signerOverride=S3SignerType
- fileSystem.s3.clientConfiguration.maxConnections=100
- # s3 multibucket
- fileSystem.s3.manyBucket.active=false
- fileSystem.s3.manyBucket.count=10
- fileSystem.s3.manyBucket.defaultBucket=data
- fileSystem.s3.bucket=data
- fs.metadb.impl=mongo
- main.mongo.uri=mongodb://192.168.24.92:27017
- main.mongo.db=fsmetadb
- fs.metadb.host=localhost
- fs.metadb.port=5432
- fs.metadb.user=user
- fs.metadb.password=password
- fs.metadb.database=fsmetadb
- # remove expired once a day
- expiredFilesRemovalJob.cron=0 0 2 */1 * *
- expiredFilesRemovalJob.batchSize=100
- # настройки авто-архивирования
- fs.autoArchiving.enabled=false
- fs.autoArchiving.cron=0 3 */1 * * *
- fs.autoArchiving.batchSize=100
- fs.autoArchiving.fileMaxAgeToArchive=P30D
- fs.autoArchiving.archiveAttributeName=archive
- stat.url=mongodb://192.168.9.73:27017/?maxPoolSize=10&waitQueueMultiple=800000&
- #Настройка логов
- logging.level.ru.atc.services.filestorage=DEBUG
- logging.level.org.springframework=INFO
- logging.filestorage.cut.log.flag=true
- logging.filestorage.cut.log.level=INFO
- # to enable temp link generation
- templink-generation.aes-sha1=on
- templink-generation.aes-sha1.hashSalt=saltysalt
- templink-generation.aes-sha1.secret=dev217-secret123
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement