Files
tasks/develop/buildkite/docker-compose-es8.yml
Alex ShtinandGitHub be25d0a458 Enable Elasticsearch functional tests for SQL advanced visibility (#3923)
* Enable Elasticsearch functional tests for SQL advanced visibility

* Cleanup cluster configs

* Disable cyclomatic and cognitive linter rules for tests dir
2023-02-10 12:57:21 -08:00

79 lines
1.9 KiB
YAML

version: "3.5"
services:
cassandra:
image: cassandra:3.11
networks:
services-network:
aliases:
- cassandra
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- ./mysql-init:/docker-entrypoint-initdb.d
networks:
services-network:
aliases:
- mysql
postgresql:
image: postgres:9.6
environment:
POSTGRES_USER: temporal
POSTGRES_PASSWORD: temporal
volumes:
- ./postgresql-init:/docker-entrypoint-initdb.d
networks:
services-network:
aliases:
- postgresql
elasticsearch:
image: elasticsearch:8.0.0
networks:
services-network:
aliases:
- elasticsearch
environment:
- cluster.routing.allocation.disk.threshold_enabled=true
- cluster.routing.allocation.disk.watermark.low=512mb
- cluster.routing.allocation.disk.watermark.high=256mb
- cluster.routing.allocation.disk.watermark.flood_stage=128mb
- discovery.type=single-node
- xpack.security.enabled=false
- ES_JAVA_OPTS=-Xms100m -Xmx100m
integration-test-cassandra:
build:
context: ../..
dockerfile: ./develop/buildkite/Dockerfile
environment:
- "CASSANDRA_SEEDS=cassandra"
- "ES_SEEDS=elasticsearch"
- "ES_VERSION=v8"
- "PERSISTENCE_TYPE=nosql"
- "PERSISTENCE_DRIVER=cassandra"
- "TEMPORAL_VERSION_CHECK_DISABLED=1"
- BUILDKITE_AGENT_ACCESS_TOKEN
- BUILDKITE_JOB_ID
- BUILDKITE_BUILD_ID
- BUILDKITE_BUILD_NUMBER
depends_on:
- cassandra
- elasticsearch
volumes:
- ../..:/temporal
- /usr/bin/buildkite-agent:/usr/bin/buildkite-agent
networks:
services-network:
aliases:
- integration-test
networks:
services-network:
name: services-network
driver: bridge