Skip to content

Commit

Permalink
rename ES container
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Apr 17, 2024
1 parent 66edef6 commit cdacf61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
###############################################################################

services:
elasticsearch:
container_name: elasticsearch
wis2-gdc-backend:
container_name: wis2-gdc-backend
image: docker.elastic.co/elasticsearch/elasticsearch:8.6.2
restart: always
environment:
Expand All @@ -35,7 +35,7 @@ services:
mem_limit: 1.5g
memswap_limit: 1.5g
volumes:
- es-data:/usr/share/elasticsearch/data:rw
- wis2-gdc-backend-data:/usr/share/elasticsearch/data:rw
# ulimits:
# nofile:
# soft: 524288
Expand Down Expand Up @@ -112,10 +112,10 @@ services:
environment:
- WIS2_GDC_API_URL_DOCKER=http://wis2-gdc-api
depends_on:
elasticsearch:
wis2-gdc-backend:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://elasticsearch:9200/wis2-discovery-metadata"]
test: ["CMD", "curl", "-f", "http://wis2-gdc-backend:9200/wis2-discovery-metadata"]
interval: 5s
retries: 3
volumes:
Expand Down Expand Up @@ -146,7 +146,7 @@ services:
- wis2-gdc-net

volumes:
es-data:
wis2-gdc-backend-data:
wis2-gdc-management-data:

networks:
Expand Down
2 changes: 1 addition & 1 deletion wis2-gdc.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export WIS2_GDC_LOGGING_LEVEL=DEBUG
export WIS2_GDC_API_URL=http://localhost
export WIS2_GDC_API_URL_DOCKER=http://wis2-gdc-api
export WIS2_GDC_BACKEND_TYPE=Elasticsearch
export WIS2_GDC_BACKEND_CONNECTION=http://elasticsearch:9200/wis2-discovery-metadata
export WIS2_GDC_BACKEND_CONNECTION=http://wis2-gdc-backend:9200/wis2-discovery-metadata
export WIS2_GDC_BROKER_URL=mqtt://wis2-gdc:wis2-gdc@wis2-gdc-broker:1883
export WIS2_GDC_CENTRE_ID=ca-eccc-msc-global-discovery-catalogue
export WIS2_GDC_COLLECTOR_URL=http://wis2-gdc-metrics-collector:8006
Expand Down

0 comments on commit cdacf61

Please sign in to comment.