Files
tasks/develop/github/docker-compose.yml
T
Stephan BehnkeandGitHub 11d3c4f07c ARM runners for all database setups (#9312)
## What changed?

Use only ARM runners for running tests.

## Why?

They are faster and cheaper and are available faster.

<img width="390" height="249" alt="Screenshot 2026-02-12 at 8 02 58 PM"
src="https://github.com/user-attachments/assets/0de5865e-971a-4d7c-8dd1-a57860412f12"
/>

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)

Tested explicitly on all databases.
2026-02-13 14:17:20 -08:00

84 lines
2.6 KiB
YAML

services:
cassandra:
image: cassandra:3.11
ports:
- "9042:9042"
environment:
CASSANDRA_LISTEN_ADDRESS: 127.0.0.1
MAX_HEAP_SIZE: "2G"
HEAP_NEWSIZE: "200M"
# Increase native transport threads for handling more concurrent connections
JVM_EXTRA_OPTS: "-Dcassandra.native_transport_max_threads=512"
mysql:
image: mysql:8.0.29-oracle
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
command: --max-connections=500
volumes:
- ./mysql-init:/docker-entrypoint-initdb.d
postgresql:
image: postgres:13.5
ports:
- "5432:5432"
environment:
POSTGRES_USER: temporal
POSTGRES_PASSWORD: temporal
command: postgres -c max_connections=500
volumes:
- ./postgresql-init:/docker-entrypoint-initdb.d
elasticsearch:
image: elasticsearch:7.10.1
ports:
- "9200:9200"
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
- ES_JAVA_OPTS=-Xms1g -Xmx1g
elasticsearch8:
image: elasticsearch:8.5.0
ports:
- "9200:9200"
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=-Xms1g -Xmx1g
opensearch2:
image: opensearchproject/opensearch:2
ports:
- "9200:9200"
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
- DISABLE_SECURITY_PLUGIN=true
- OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g
opensearch3:
image: opensearchproject/opensearch:3
ports:
- "9200:9200"
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
- DISABLE_SECURITY_PLUGIN=true
- OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g