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 e3f1d10 commit abc87d5Copy full SHA for abc87d5
src/main/resources/application-prod.yml
@@ -4,12 +4,7 @@
4
# url: ${DATABASE_URL}
5
#
6
7
-# jpa:
8
-# hibernate:
9
-# ddl-auto: update
10
-# properties:
11
12
-# show_sql: false
+
13
spring:
14
autoconfigure:
15
exclude:
@@ -18,7 +13,16 @@ spring:
18
host: ${REDIS_HOST}
19
password: ${REDIS_PASSWORD}
20
datasource:
21
- url: jdbc:mysql://mysql_1:3306/${DATABASE_URL}
16
+ url: ${DATABASE_URL}
17
+ username: ${DATABASE_USERNAME}
+ password: ${DATABASE_PASSWORD}
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ jpa:
+ hibernate:
22
+ ddl-auto: update
23
+ properties:
24
25
+ show_sql: false
26
springdoc:
27
swagger-ui:
28
enabled: false
0 commit comments