/
ffkr-article.yaml
59 lines (56 loc) · 1.17 KB
/
ffkr-article.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
spring:
main:
banner-mode: "log"
rabbitmq:
host: ${rabbitmq.host}
port: ${rabbitmq.port}
username: ${rabbitmq.username}
password: ${rabbitmq.password}
data:
mongodb:
host: ${mongodb.host}
port: ${mongodb.port}
database: ${mongodb.database}
username: ${mongodb.username}
password: ${mongodb.password}
eureka:
instance:
instanceId: ${spring.application.name}:${ffkr-article.instanceId}:${server.port}
management:
endpoints:
enabled-by-default: false
web:
exposure:
include: health,info,configprops
endpoint:
health:
enabled: true
info:
enabled: true
configprops:
enabled: true
ffkr:
article:
crawler:
start-page: http://football.ua/newsarc/page%d.html
image-location: /usr/local/share/ffkr/photos
server:
port: 8105
---
spring:
profiles: local
eureka:
client:
serviceUrl:
defaultZone: http://localhost:8100/eureka/
---
spring:
profiles: docker
hymeleaf:
checkTemplateLocation: false
eureka:
client:
serviceUrl:
defaultZone: http://ffkr-discovery:8100/eureka/
logging:
file: "/ffkr-article/logs/ffkr_article.log"