-
Notifications
You must be signed in to change notification settings - Fork 105
/
tweet-service.yml
36 lines (34 loc) · 1.01 KB
/
tweet-service.yml
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
server:
port: 8002
spring:
application:
name: tweet-service
datasource:
url: jdbc:postgresql://${DATASOURCE_HOST:localhost}:5432/tweet
username: postgres
password: root
driverClassName: org.postgresql.Driver
jpa:
hibernate:
ddl-auto: validate
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
flyway:
locations: classpath:db/migration/tweet
zipkin:
base-url: http://${ZIPKIN_HOST:localhost}:9411
rabbitmq:
addresses: ${RABBITMQ_HOST:localhost}:5672
google:
api:
url: https://www.googleapis.com/youtube/v3/videos?id=%s&key=%s&part=snippet,contentDetails,statistics,status
key: AIzaSyBtQYzGSmcCzqOztibg1BgSTqv0xwg1D-M
eureka:
client:
service-url:
defaultZone: http://${EUREKA_HOST:localhost}:8761/eureka
fetch-registry: true
register-with-eureka: true
instance:
hostname: ${EUREKA_HOST:localhost}