feat:更新host地址
This commit is contained in:
@@ -3,7 +3,7 @@ from elasticsearch import Elasticsearch
|
|||||||
from schemas.blog_elastic import BLOG_MAPPING
|
from schemas.blog_elastic import BLOG_MAPPING
|
||||||
from config.logging import logger
|
from config.logging import logger
|
||||||
|
|
||||||
ES_HOSTS = "http://14.103.235.151:9200"
|
ES_HOSTS = "http://host.docker.internal:9200"
|
||||||
ES_USER = "elastic"
|
ES_USER = "elastic"
|
||||||
ES_PASSWORD = "19940822Cxx"
|
ES_PASSWORD = "19940822Cxx"
|
||||||
BLOG_INDEX = "blog"
|
BLOG_INDEX = "blog"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ from pathlib import Path
|
|||||||
|
|
||||||
from config.setting import settings
|
from config.setting import settings
|
||||||
|
|
||||||
FLUENTD_HOST = '14.103.235.151'
|
FLUENTD_HOST = 'host.docker.internal'
|
||||||
FLUENTD_PORT = 24422
|
FLUENTD_PORT = 24422
|
||||||
TOPIC_TAG = 'blog-service'
|
TOPIC_TAG = 'blog-service'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user