Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,6 @@ services:
- RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS=-rabbitmq_management path_prefix "/rabbitmq"
- RABBITMQ_DEFAULT_USER=${RABBITMQ_USER:-guest}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_PASS:-guest}
expose:
- 5672
- 15672
# TODO remove
ports:
- "5672:5672"
- "15672:15672"
healthcheck:
test: [ "CMD", "nc", "-z", "localhost", "5672" ]
interval: 3s
Expand All @@ -247,14 +240,19 @@ services:
image: docker.elastic.co/elasticsearch/elasticsearch:8.3.3
restart: unless-stopped
healthcheck:
test: "curl -f http://localhost:9200/_cluster/health?wait_for_status=yellow"
test: ["CMD-SHELL", "curl -f http://localhost:9200/_cluster/health?wait_for_status=yellow"]
interval: 10s
timeout: 30s
retries: 10
start_period: 60s
networks:
- clowder2
environment:
- "cluster.name=clowder2"
- "discovery.type=single-node"
- "xpack.security.enabled=false"
- "xpack.security.http.ssl.enabled=false"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
volumes:
- elasticsearch:/usr/share/elasticsearch/data

Expand Down
Loading