Apollo电脑开发环境启动参数配置

PortalApplication:

-Dapollo_profile=github,auth
-Ddev_meta=http://localhost:8080/
-Dserver.port=8070
-Dspring.datasource.url=jdbc:mysql://localhost:3306/ApolloPortalDB?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
-Dspring.datasource.username=root
-Dspring.datasource.password=root
-Dlogging.file=D:/app/apollo-portal.log

ApolloApplication:

-Dapollo_profile=github
-Dspring.datasource.url=jdbc:mysql://localhost:3306/ApolloConfigDB?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
-Dspring.datasource.username=root
-Dspring.datasource.password=root

SimpleApolloConfigDemo:

-Denv=dev
-Ddev_meta=http://localhost:8080

SpringBootSampleApplication:

-Ddev_meta=http://localhost:8080
-Dapollo.configService=http://localhost:8080
-Denv=DEV
-Dapollo.cluster=default

你可能感兴趣的:(Apollo电脑开发环境启动参数配置)