-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotifications.properties
More file actions
40 lines (28 loc) · 1.11 KB
/
notifications.properties
File metadata and controls
40 lines (28 loc) · 1.11 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
# Service and Server Configuration
server.port=8086
spring.application.name=notificationService
spring.cloud.inetutils.preferred-networks=localhost
# Datasource Configuration (Use the correct database URL, in this case "microservice")
spring.datasource.url=jdbc:postgresql://localhost:5432/notifications
spring.datasource.username=postgres
spring.datasource.password=newpassword
# JPA Configuration
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
eureka.client.service-url.defaultZone=http://localhost:8761/eureka/
eureka.client.fetchRegistry=true
eureka.client.registerWithEureka=true
spring.cloud.discovery.enabled=true
# RabbitMQ config
rabbitmq.queue.name =notificationQueue
spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672
spring.rabbitmq.username=user
spring.rabbitmq.password=password
spring.rabbitmq.virtual-host=/
# URI to the Config Server
spring.cloud.config.uri=http://localhost:8888
# Fail fast if config is not available
spring.cloud.config.fail-fast=true