We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 966519d commit 7e1903fCopy full SHA for 7e1903f
src/main/resources/application-prod.yml
@@ -0,0 +1,41 @@
1
+server:
2
+ port: ${APP_PORT}
3
+
4
+spring:
5
+ application:
6
+ name: ${APP_NAME}
7
+ datasource:
8
+ driver-class-name: com.mysql.cj.jdbc.Driver
9
+ url: jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DATABASE}
10
+ username: ${MYSQL_USER}
11
+ password: ${MYSQL_PASSWORD}
12
+ jpa:
13
+ database-platform: org.hibernate.dialect.MySQLDialect
14
+ show-sql: true
15
+ properties:
16
+ hibernate:
17
+ format_sql: true
18
19
+ ddl-auto: validate
20
+ h2:
21
+ console:
22
+ enabled: false
23
+ flyway:
24
+ enabled: true
25
+ locations: classpath:db/migration
26
+ validate-on-migrate: true
27
28
+api:
29
+ security:
30
+ token:
31
+ secret: ${JWT_SECRET:secret-key}
32
33
+springdoc:
34
+ api-docs:
35
+ path: /api-docs
36
+ swagger-ui:
37
+ path: /swagger-ui.html
38
39
+logging:
40
+ level:
41
+ root: INFO
0 commit comments