Elasticsearch on Docker.
docker pull quay.io/aptible/elasticsearch
This is an image conforming to the Aptible database specification. To run a server for development purposes, execute
docker create --name data quay.io/aptible/elasticsearch
docker run --volumes-from data -e USERNAME=aptible -e PASSPHRASE=pass -e DB=db quay.io/aptible/elasticsearch --initialize
docker run --volumes-from data -P quay.io/aptible/elasticsearch
The first command sets up a data container named data
which will hold the configuration and data for the database. The second command creates an Elasticsearch instance with a username, passphrase and database name of your choice. The third command starts the database server.
-
latest
: Currently Elasticsearch 6.7 -
6.7
-
6.6
-
6.5
-
6.4
-
6.3
-
6.2
-
6.1
-
6.0
-
5.6
(EOL 2019-03-11) -
5.1
(EOL 2018-06-08) -
5.0
(EOL 2018-04-26) -
2.4
(EOL 2018-02-28) -
2.2
(EOL 2017-08-02) -
1.5
(EOL 2016-09-23)
Tests are run as part of the Dockerfile
build. To execute them separately within a container, run:
bats test
To push the Docker image to Quay, run the following command:
make push
Images are built and pushed to Quay and the Docker Hub on push to master in Travis.
MIT License, see LICENSE for details.
Copyright (c) 2019 Aptible, Frank Macreery, and contributors.