Skip to content

Commit e6bb619

Browse files
committed
Update
1 parent 7d8635f commit e6bb619

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docker-compose.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ services:
2525
dockerfile: Dockerfile
2626
target: omni_es
2727
ports:
28-
- 9200:9201
29-
- 9203:9201
28+
- 9200:9200
3029
# restart: unless-stopped
3130
environment:
3231
# v_7
@@ -61,7 +60,7 @@ services:
6160
- ./Docker/elasticsearch/backup:/usr/share/elasticsearch/backup
6261
- ./Docker/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
6362
healthcheck:
64-
test: ["CMD", "curl","-s" ,"-f", "http://localhost:9201/_cat/health"]
63+
test: ["CMD", "curl","-s" ,"-f", "http://localhost:9200/_cat/health"]
6564
networks:
6665
- bridge
6766

@@ -76,7 +75,7 @@ services:
7675
depends_on:
7776
- fn-cicd-basic-omni_es
7877
environment:
79-
ELASTICSEARCH_HOSTS: http://fn-cicd-basic-omni_es:9201
78+
ELASTICSEARCH_HOSTS: http://fn-cicd-basic-omni_es:9200
8079

8180

8281
fn-basic-docker-api:

0 commit comments

Comments
 (0)