mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
* Change ES client GetMapping to work with ES8 * Add support for ES8 and integration test * Add ES8 integration test to buildkite coverage report * Create es_v8_index_template.json * Add env vars for ES8 container
80 lines
1.9 KiB
YAML
80 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"
|
|
- "TEST_TAG=esintegration"
|
|
- "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
|