pengyu0929 removed a comment on issue #541: 
docker部署alpha时,host使用localhost,omega端报连接拒绝异常
URL: 
https://github.com/apache/servicecomb-pack/issues/541#issuecomment-522498926
 
 
   `server:
     port: ${SERVER_PORT:8418}
   management:
     server:
       port: ${MANAGEMENT_SERVER_PORT:8425}
     endpoints:
       web:
         exposure:
           include: "*"
   
   # 配置alpha端的端口号和地址
   alpha:
     server:
       host: ${ALPHA_SERVER_HOST:localhost}
       port: ${ALPHA_SERVER_PORT:8419}
       serviceId: ${ALPHA_SERVER_SERVICE_ID:srm-saga}
   
   spring:
     datasource:
       url: 
${SPRING_DATASOURCE_URL:jdbc:mysql://192.168.3.154:3306/srm_saga?useUnicode=true&characterEncoding=utf-8&useSSL=false}
       username: ${SPRING_DATASOURCE_USERNAME:srm}
       password: ${SPRING_DATASOURCE_PASSWORD:Srm@1234}
   eureka:
     instance:
       metadataMap:
         srm-saga: ${ALPHA_SERVER_HOST}:${ALPHA_SERVER_PORT}
   logging:
     level:
       root: ${LOG_LEVEL:info}`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to