OpenSearch/distribution/docker/docker-compose.yml
Alpar Torok bee892006a Use the built image in docker tests (#40314)
Instead of allowing docker-compose to rebuild it.
With this change we tag the image with a test label, and use that
in the testing as this is simpler that dealing with a dynamically
generated docker-compose file.
2019-04-12 12:34:55 +03:00

18 lines
421 B
YAML

# Only used for testing the docker images
version: '3'
services:
elasticsearch-default:
image: elasticsearch:test
environment:
- cluster.name=elasticsearch-default
- discovery.type=single-node
ports:
- "9200"
elasticsearch-oss:
image: elasticsearch-oss:test
environment:
- cluster.name=elasticsearch-oss
- discovery.type=single-node
ports:
- "9200"