Hdd_eureka_server
Application.yml
Server:
Port: 8101
Eureka:
instance:
Hostname:localhost
Client:
Register-with-eureka:false
Fetch-registry:false
==============================================================
hdd_shipping_service
application.yml
Server:
Port: 8084
Logging:
Config:classpath:logback.xml
Level :
Org.springframework:error
Com.ibatis:debug
Spring:
DataSource:
URL: jdbc:mysql://10.19.4.16:3306/hdd_yttmb_stp?useunicode=true&characterencoding=utf-8
Username:sa
Password:mysql
Type:com.alibaba.druid.pool.DruidDataSource
Druid:
max-active:20
initial-size:1
Min-idle:3
max-wait:60000
time-between-eviction-runs-millis:60000
min-evictable-idle-time-millis:300000
test-while-idle:true
Test-on-borrow:false
Test-on-return:false
MyBatis:
Mapperlocations:classpath*:net/huadong/*/*/mapper/*.xml
Configlocation:classpath:mybatis-config.xml
debug:true
——————————————————————————————————————————————————————————————————————————————
bootstrap.yml
Spring:
Application:
Name: shippingservice
Cloud:
Config:
enabled:true
Discovery:
enabled:true
service-id:config #1
Eureka:
instance:
non-secure-port: ${server.port:8084}
Client:
Service-url:
defaultzone:http://${eureka.host:localhost}:${eureka.port:8101}/eureka/
=================================================================================================
Hdd_shipping_web
application.yml
Server
Port:
Kaptcha:
session:
Key:kaptcha_session_key
Obscurificator:
Impl:com.google.code.kaptcha.impl.ShadowGimpy
Noise:
impl:com.google.code.kaptcha.impl.NoNoise
Image:
width:90
height:33
Textproducer:
font:
size:26
Color:black
Char:
Length:4
Space:5
background:
clear:
from:247,247,247
to:247,247,247
————————————————————————————————————————————————————————————————————————
bootstrap.yml
spring:
application:
name: web
Eureka
Instance
Non-secure-port: ${server.port:
Client
Service-url:
defaultzone:http://${eureka.host:localhost}:${eureka.port:8101}/eureka/
"Spring" Eureka configuration