Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to dockerhub for Elasticsearch/Logstash/Kibana images
Browse files Browse the repository at this point in the history
docker.elastic.co has been down a few times in the past, dockerhub is
more reliable.

They both serve the exact same images (same tags, same hashes),
so the change should be mostly transparent.
yrodiere committed May 19, 2022
1 parent a032e30 commit a86bfd9
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions build-parent/pom.xml
Original file line number Diff line number Diff line change
@@ -77,9 +77,9 @@

<!-- Defaults for integration tests -->
<elasticsearch-server.version>7.16.3</elasticsearch-server.version>
<elasticsearch.image>docker.elastic.co/elasticsearch/elasticsearch:${elasticsearch-server.version}</elasticsearch.image>
<logstash.image>docker.elastic.co/logstash/logstash:${elasticsearch-server.version}</logstash.image>
<kibana.image>docker.elastic.co/kibana/kibana:${elasticsearch-server.version}</kibana.image>
<elasticsearch.image>docker.io/elastic/elasticsearch:${elasticsearch-server.version}</elasticsearch.image>
<logstash.image>docker.io/elastic/logstash:${elasticsearch-server.version}</logstash.image>
<kibana.image>docker.io/elastic/kibana:${elasticsearch-server.version}</kibana.image>
<elasticsearch.protocol>http</elasticsearch.protocol>
<opensearch-server.version>1.2.3</opensearch-server.version>
<opensearch.image>docker.io/opensearchproject/opensearch:${opensearch-server.version}</opensearch.image>
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ public class ElasticsearchDevServicesBuildTimeConfig {
* The Elasticsearch container image to use.
* Defaults to the elasticsearch image provided by Elastic.
*/
@ConfigItem(defaultValue = "docker.elastic.co/elasticsearch/elasticsearch:7.17.0")
@ConfigItem(defaultValue = "docker.io/elastic/elasticsearch:7.17.0")
public String imageName;

/**
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ version: '3.2'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
image: docker.io/elastic/elasticsearch:7.16.3
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
discovery.type: "single-node"
@@ -23,7 +23,7 @@ services:
- elasticsearch

kibana:
image: docker.elastic.co/kibana/kibana:7.16.3
image: docker.io/elastic/kibana:7.16.3
ports:
- "5601:5601"
networks:
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@ version: '3.2'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
image: docker.io/elastic/elasticsearch:7.16.3
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
discovery.type: "single-node"
networks:
- elk

logstash:
image: docker.elastic.co/logstash/logstash:7.16.3
image: docker.io/elastic/logstash:7.16.3
volumes:
- source: $HOME/pipelines
target: /usr/share/logstash/pipeline
@@ -25,7 +25,7 @@ services:
- elasticsearch

kibana:
image: docker.elastic.co/kibana/kibana:7.16.3
image: docker.io/elastic/kibana:7.16.3
ports:
- "5601:5601"
networks:
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ version: '3.2'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
image: docker.io/elastic/elasticsearch:7.16.3
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
discovery.type: "single-node"

0 comments on commit a86bfd9

Please sign in to comment.