-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication-prod.yml
More file actions
149 lines (127 loc) · 2.94 KB
/
application-prod.yml
File metadata and controls
149 lines (127 loc) · 2.94 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# ==================================================
# ENVIRONMENT: PREPROD (running on PROD infrastructure)
#
# This is the FINAL PROD configuration.
# The instance using this file (qcloud2-preprod)
# is NOT exposed to users yet.
#
# The switch to REAL PROD is done at Apache level.
# ==================================================
# =========================
# PROFILE
# =========================
spring:
profiles: prod
# =========================
# SERVER
# =========================
server:
port: 8088 # PROD port (used by PREPROD instance)
# =========================
# APPLICATION
# =========================
application:
version: PROD
# =========================
# MANAGEMENT
# =========================
management:
endpoint:
health:
show-details: always
# =========================
# SPRING
# =========================
spring:
jackson:
time-zone: Europe/Madrid
serialization:
INDENT_OUTPUT: true
datasource:
url: jdbc:mysql://10.102.1.26:3306/qcloud2?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
username: admin
password: CRG4dm1n!
jpa:
hibernate:
ddl-auto: validate
properties:
hibernate:
dialect: MySQL57InnoDB
show-sql: false
flyway:
enabled: true
validate-on-migrate: true
baseline-on-migrate: false
out-of-order: false
h2:
console:
enabled: false
mail:
default-encoding: UTF-8
host:
username:
password:
port: 587
protocol: smtp
test-connection: false
properties:
mail:
smtp:
auth: true
starttls:
enable: true
main:
allow-bean-definition-overriding: true
# =========================
# JWT (LEGACY – HARDCODED)
# =========================
jwt:
header: Authorization
secret: L+0P1i+38a26pHiW10iHqPBYAyklvqPdySy98BV9PPCZyDogMggoSZkYxULqCF+WG6Nimlfxd53H6zjdIUJNJA==
expiration: 604800
route:
authentication:
path: api/auth
refresh: refresh
authentication-pipeline:
path: api/4uth
refresh: refresh
# =========================
# QCLOUD
# =========================
qcloud:
app-url: https://qcloud2.crg.eu
admin-email: roger.olivella@crg.eu
tip-refresh: 1800000
threshold:
min-points-auto: 10
min-points-manual: 20
min-points-guideset: 3
min-valid-context-source-points: 2
files-auto-plot: 10
threshold-nonconformity:
page-size: 10
instrument-status:
max-offline-hours: 12
email:
address: your@mail.cat
intranet:
pipeline-valid-hours: 3
api-url: https://api.qcloud2.crg.eu
# =========================
# TWITTER (LEGACY)
# =========================
twitter:
consumer-key: dummy
consumer-secret: dummy
access-token: dummy
access-token-secret: dummy
# =========================
# LOGGING
# =========================
logging:
file:
name: /home/admin/qcloud/logs/qcloud2_docker_prod.log
level:
org.springframework.security: ERROR
org.hibernate: ERROR