rev:配置文件改外网
This commit is contained in:
@@ -8,16 +8,16 @@ spring:
|
|||||||
enabled: true
|
enabled: true
|
||||||
client:
|
client:
|
||||||
reactive:
|
reactive:
|
||||||
#endpoints: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
#endpoints: 172.31.185.110:8200,172.31.154.9:8200 #内网
|
||||||
# endpoints: 192.168.46.225:8200 #外网
|
# endpoints: 47.96.133.178:8200 #外网
|
||||||
endpoints: http://192.168.46.225:8200 #外网
|
endpoints: http://47.96.133.178:8200 #外网
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
rest:
|
rest:
|
||||||
#uris: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
#uris: 172.31.185.110:8200,172.31.154.9:8200 #内网
|
||||||
# uris: 192.168.46.225:8200 #外网
|
# uris: 47.96.133.178:8200 #外网
|
||||||
uris: http://192.168.46.225:9200 #外网
|
uris: http://47.96.133.178:8200 #外网
|
||||||
# username: elastic
|
username: elastic
|
||||||
# password: 123456
|
password: 123456
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
db-type: com.alibaba.druid.pool.DruidDataSource
|
db-type: com.alibaba.druid.pool.DruidDataSource
|
||||||
|
|||||||
@@ -8,14 +8,14 @@ spring:
|
|||||||
enabled: true
|
enabled: true
|
||||||
client:
|
client:
|
||||||
reactive:
|
reactive:
|
||||||
#endpoints: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
#endpoints: 172.31.185.110:8200,172.31.154.9:8200 #内网
|
||||||
# endpoints: 192.168.46.2255:8200 #外网
|
# endpoints: 47.96.133.1785:8200 #外网
|
||||||
endpoints: http://192.168.46.2255:8200 #外网
|
endpoints: http://47.96.133.1785:8200 #外网
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
rest:
|
rest:
|
||||||
#uris: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
#uris: 172.31.185.110:8200,172.31.154.9:8200 #内网
|
||||||
# uris: 192.168.46.2255:8200 #外网
|
# uris: 47.96.133.1785:8200 #外网
|
||||||
uris: http://192.168.46.2255:8200 #外网
|
uris: http://47.96.133.1785:8200 #外网
|
||||||
username: elastic
|
username: elastic
|
||||||
password: 123456
|
password: 123456
|
||||||
datasource:
|
datasource:
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ spring:
|
|||||||
reactive:
|
reactive:
|
||||||
#endpoints: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
#endpoints: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
||||||
# endpoints: 192.168.46.2255:8200 #外网
|
# endpoints: 192.168.46.2255:8200 #外网
|
||||||
endpoints: http://192.168.46.2255:8200 #外网
|
endpoints: http://192.168.46.2255:9200 #外网
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
rest:
|
rest:
|
||||||
#uris: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
#uris: 172.31.185.110:9200,172.31.154.9:9200 #内网
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ https://juejin.cn/post/6844903775631572999
|
|||||||
<!--引入默认的一些设置-->
|
<!--引入默认的一些设置-->
|
||||||
<!-- <include resource="log/AutoCreateInst.xml"/>-->
|
<!-- <include resource="log/AutoCreateInst.xml"/>-->
|
||||||
<!-- <appender name="esLogAppender" class="com.internetitem.logback.elasticsearch.ElasticsearchAppender">
|
<!-- <appender name="esLogAppender" class="com.internetitem.logback.elasticsearch.ElasticsearchAppender">
|
||||||
<url>http://192.168.46.2255:8200/_bulk</url>
|
<url>http://47.96.133.1785:8200/_bulk</url>
|
||||||
<index>${esIndex}</index>
|
<index>${esIndex}</index>
|
||||||
<type>mes_log</type>
|
<type>mes_log</type>
|
||||||
<loggerName>es-logger</loggerName> <!– optional –>
|
<loggerName>es-logger</loggerName> <!– optional –>
|
||||||
|
|||||||
Reference in New Issue
Block a user