pull/4/head
3y 3 years ago
parent 775a40c1c9
commit 8b374bbbf9

@ -11,7 +11,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
public class AustinApplication {
public static void main(String[] args) {
// TODO apollo的地址.
System.setProperty("apollo.config-service", "http://119.91.205.248:7000");
System.setProperty("apollo.config-service", "http://ip:7000");
SpringApplication.run(AustinApplication.class, args);
}
}

@ -5,14 +5,14 @@
##################### database properties #####################
# notice:mysql version 5.7x !!! todo ip port username password
spring.datasource.url=jdbc:mysql://localhost:3306/austin?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
spring.datasource.username=root
spring.datasource.password=root123_A
spring.datasource.url=jdbc:mysql://${ip}:${port}/austin?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
spring.datasource.username=${username}
spring.datasource.password=${password}
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
##################### kafka properties #####################
# todo ip port
spring.kafka.bootstrap-servers=120.48.13.113:9092
spring.kafka.bootstrap-servers=${ip}:${port}
spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer
spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer
spring.kafka.consumer.key-deserializer=org.apache.kafka.common.serialization.StringDeserializer
@ -23,28 +23,28 @@ spring.kafka.consumer.enable-auto-commit=true
##################### redis properties #####################
# todo ip port password
spring.redis.host=119.91.205.248
spring.redis.port=6379
spring.redis.password=austin
spring.redis.host=${ip}
spring.redis.port=${port}
spring.redis.password=${password}
##################### business properties #####################
austin.business.topic.name=austinTopicV2
# TODO if need graylog ,replace ip !
austin.business.graylog.ip=120.48.13.113
austin.business.graylog.ip=${ip}
# TODO if windows os ,replace path !
austin.business.upload.crowd.path=/Users/3y/temp
##################### xxl properties #####################
# todo ip port
xxl.job.admin.addresses=http://localhost:6767/xxl-job-admin
xxl.job.admin.addresses=http://${ip}:${port}/xxl-job-admin
xxl.job.admin.username=admin
xxl.job.admin.password=123456
xxl.job.executor.appname=austin
xxl.job.executor.jobHandlerName=austinJob
xxl.job.executor.ip=
xxl.job.executor.port=6666
xxl.job.executor.logpath=logs/xxl
xxl.job.executor.logpath=
xxl.job.executor.logretentiondays=30
xxl.job.accessToken=

Loading…
Cancel
Save