mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-31 02:51:51 -07:00
## What changed? Remove the version field from all the docker compose yaml files ## Why? I followed the dev [doc](https://github.com/temporalio/temporal/blob/main/develop/docker-compose/README.md) to setup the local env, and it showed the warning message like `WARN[0003] /xxxx/temporal/develop/docker-compose/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion` Some discussions are [here](https://forums.docker.com/t/docker-compose-yml-version-is-obsolete/141313) and the `version` field was confirmed to be deprecated. So I want to raise this PR to remove this deprecated field.  ## How did you test it? N/A ## Potential risks N/A ## Documentation N/A ## Is hotfix candidate? No Co-authored-by: Roey Berman <roey@temporal.io>
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
services:
|
|
cassandra:
|
|
image: cassandra:3.11
|
|
ports:
|
|
- "9042:9042"
|
|
environment:
|
|
CASSANDRA_LISTEN_ADDRESS: 127.0.0.1
|
|
|
|
mysql:
|
|
image: mysql:8.0.29-oracle
|
|
ports:
|
|
- "3306:3306"
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: root
|
|
volumes:
|
|
- ./mysql-init:/docker-entrypoint-initdb.d
|
|
|
|
postgresql:
|
|
image: postgres:13.5
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
POSTGRES_USER: temporal
|
|
POSTGRES_PASSWORD: temporal
|
|
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.0.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
|