From 0dad49081b585e1ead7837e3206d806a7a27b656 Mon Sep 17 00:00:00 2001 From: 3y Date: Tue, 5 Apr 2022 22:39:03 +0800 Subject: [PATCH] =?UTF-8?q?vip=E6=90=AD=E5=BB=BA=E5=A5=BDredis/kafka/mysql?= =?UTF-8?q?/apollo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/java3y/austin/AustinApplication.java | 2 +- .../src/main/resources/application.properties | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/austin-web/src/main/java/com/java3y/austin/AustinApplication.java b/austin-web/src/main/java/com/java3y/austin/AustinApplication.java index 7aa37a3..f562187 100644 --- a/austin-web/src/main/java/com/java3y/austin/AustinApplication.java +++ b/austin-web/src/main/java/com/java3y/austin/AustinApplication.java @@ -11,7 +11,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; public class AustinApplication { public static void main(String[] args) { // TODO apollo的ip/port【must】 - System.setProperty("apollo.config-service", "http://ip:7000"); + System.setProperty("apollo.config-service", "http://austin.apollo.config:5001"); SpringApplication.run(AustinApplication.class, args); } } diff --git a/austin-web/src/main/resources/application.properties b/austin-web/src/main/resources/application.properties index 20c1b3c..a5dd3b1 100644 --- a/austin-web/src/main/resources/application.properties +++ b/austin-web/src/main/resources/application.properties @@ -3,19 +3,19 @@ # TODO please replace 【must】 config value # todo [database] ip/port/username/password 【must】 -austin-database-ip= -austin-database-port= -austin-database-username= -austin-database-password= +austin-database-ip=austin.mysql +austin-database-port=5004 +austin-database-username=root +austin-database-password=root123_A # todo [kafka] ip/port【must】 -austin-kafka-ip= -austin-kafka-port= +austin-kafka-ip=austin.kafka +austin-kafka-port=9092 # todo [redis] ip/port/password【must】 -austin-redis-ip= -austin-redis-port= -austin-redis-password= +austin-redis-ip=austin.redis +austin-redis-port=5003 +austin-redis-password=austin # todo [xxl-job] ip/port【optional】 austin-xxl-job-ip=127.0.0.1