forked from AudiovisualMetadataPlatform/amppd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathamp_config.system_defaults
94 lines (79 loc) · 3.88 KB
/
amp_config.system_defaults
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
rest:
# paths, relative to the amp:data_root directory, if the value is a relative path
logging_path: logs
storage_path: media
dropbox_path: dropbox
# mediaprobe location (relative to amp:data_root)
mediaprobe_dir: MediaProbe
# secrets
encryption_secret: CHANGE ME
jwt_secret: CHANGE ME
# Avalon integration. This should be somewhere else, maybe?
avalon_url: https://avalon.example.edu
avalon_token: some-really-long-hex-string
# These properties are to populate the "boilerplate" bits of
# application properties. You shouldn't need to change any of these...
properties:
# tomcat configuration
server.servlet.context-path: /rest
# Spring datasource
spring.datasource.driver-class-name: org.postgresql.Driver
spring.datasource.platform: postgres
# Spring JPA Stuff
spring.jpa.database: POSTGRESQL
spring.jpa.generate-ddl: true
# ddl-auto should be set to 'create' initially(?) and then 'update' later
spring.jpa.hibernate.ddl-auto: update
spring.jpa.show-sql: true
spring.jpa.properties.hibernate.format_sql: true
spring.jpa.properties.hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults: false
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation: true
spring.jpa.properties.javax.persistence.validation.mode: none
# Mail
spring.mail.host: localhost
spring.mail.port: 25
spring.mail.protocol: smtp
spring.mail.properties.mail.smtp.auth: false
spring.mail.properties.mail.smtp.starttls.enable: false
spring.mail.properties.mail.smtp.connectiontimeout: 5000
spring.mail.properties.mail.smtp.timeout: 3000
spring.mail.properties.mail.smtp.writetimeout: 5000
# Multipart Request limits
spring.servlet.multipart.max-file-size: 5GB
spring.servlet.multipart.max-request-size: 5GB
spring.servlet.multipart.enabled: true
# Session
server.servlet.session.timeout: 1800s
spring.session.timeout: 1800s
spring.session.store-type: jdbc
spring.session.jdbc.initialize-schema: always
# do I need to fill in the @@platform@@ value?
spring.session.jdbc.schema: classpath:org/springframework/session/jdbc/schema-@@platform@@.sql
spring.session.jdbc.table-name: SPRING_SESSION
# Logging
logging.level.edu.indiana.dlib.amppd: TRACE
# External sources and task managers
amppd.externalSources: MCO,DarkAvalon,NYPL
amppd.taskManagers: Jira,Trello
# refresh intervals
amppd.refreshResultsTableMinutes: 300
amppd.refreshResultsStatusCron: 0 0/10 6-18 ? * MON-FRI
amppd.refreshResultsTableCron: 0 0 1 ? * MON-FRI
amppd.refreshWorkflowResultsStatusCron: 0 0/10 6-18 ? * MON-FRI
amppd.refreshWorkflowResultsAllCron: 0 0 1 ? * MON-FRI
# misc
management.endpoints.web.exposure.include: '*'
amppd.auth: true
amppd.passwordResetTokenExpiration: 600
amppd.accountActivationTokenExpiration: 604800
amppd.environment: prod
amppd.pythonPath: python3
amppd.corsOriginPattern: http://localhost:8080
amppd.supplementCategories: Face,Transcript,Vocabulary,Program,Groundtruth,Other
amppd.groundtruthSubcategories: segment_timecodes_labels,applause_timecodes_labels,stt_transcript,ner_all,ner_all-aws,ner_all_spacy,ner_unique,ner_unique_aws,ner_unique_spacy,shot_timecodes_labels,face_timecodes,face_labels,vocr_timecodes_texts,vocr_timecodes,vocr_texts,vocr_unique_texts,ner_all_common
# timeouts
amppd.jwtExpireMinutes: 60
amppd.workflowEditMinutes: 60
amppd.resetPasswordMinutes: 10
amppd.activateAccountDays: 7