-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.properties_ticket_example
More file actions
23 lines (18 loc) · 1005 Bytes
/
application.properties_ticket_example
File metadata and controls
23 lines (18 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
spring.application.name=ms-ticket-manager
server.port=8081
# MongoDB connection: Replace <username> and <password> with your actual credentials.
spring.data.mongodb.uri=mongodb+srv://<username>:<password>@desafio3.3xya3.mongodb.net/db_ticket?retryWrites=true&w=majority&appName=Desafio3
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
# Enable Feign Client with Hystrix
feign.hystrix.enabled=true
# Email sending configuration
# Replace <email> with your sending email and <password> with the email's password.
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username=<email>
spring.mail.password=<password>
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
# RabbitMQ configuration: Replace <username> and <password> with your actual RabbitMQ credentials.
spring.rabbitmq.addresses=amqps://<username>:<password>@moose.rmq.cloudamqp.com/okshxorr
spring.rabbitmq.queue=ms.ticket.email