-
Notifications
You must be signed in to change notification settings - Fork 0
/
NOTIFICATION-SERVICE-dev.properties
44 lines (33 loc) · 1.48 KB
/
NOTIFICATION-SERVICE-dev.properties
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
# DEVELOPMENT PROFILE
server.port=8084
# ===============================
# = DATA SOURCE
# ===============================
# Set here configurations for the database connection
spring.datasource.url=jdbc:mariadb://localhost:3306/user_notif_db
spring.datasource.username=springboot
spring.datasource.password= {cipher}6361ab4d1e523cea298505e78db195f775a5f49f1dfb32b47db6c2916cf5c6f5
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
# Keep the connection alive if idle for a long time (needed in production)
spring.datasource.testWhileIdle=true
spring.datasource.validationQuery=SELECT 1
# ===============================
# = JPA / HIBERNATE
# ===============================
# Show or not log for each sql query
spring.jpa.show-sql=true
# Hibernate ddl auto (create, create-drop, update): with "create-drop" the database
# schema will be automatically created afresh for every start of application
spring.jpa.hibernate.ddl-auto=none
# Naming strategy
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
#Allows Hibernate to generate SQL optimized for a particular DBMS
spring.jpa.database-platform= org.hibernate.dialect.MariaDBDialect
#### Actuator Properties
management.endpoints.web.exposure.include=*
management.endpoints.enabled-by-default=true
#### Eureka service properties
eureka.instance.preferIpAddress = true
eureka.client.registerWithEureka = true
eureka.client.fetchRegistry = true
eureka.client.serviceUrl.defaultZone = http://localhost:8069/eureka/