Remove version field from docker compose yaml file (#6610)

## 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.

![image](https://github.com/user-attachments/assets/a880a612-7165-45c0-a6ff-97a47c7f36d7)


## 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>
This commit is contained in:
YeZhu
2024-10-09 10:38:26 -07:00
committed by GitHub
parent abf9ae0627
commit d4d43259b6
9 changed files with 5 additions and 23 deletions

View File

@@ -1,6 +1,4 @@
# Overrides for CDC for MacOS (Darwin) users.
version: "3.5"
services:
temporal-ui-standby:
environment:
@@ -15,4 +13,4 @@ services:
ports:
- "8082:8082"
networks:
- temporal-dev-network
- temporal-dev-network

View File

@@ -1,6 +1,4 @@
# Overrides for CDC for Linux users.
version: "3.5"
services:
temporal-ui-standby:
environment:
@@ -9,4 +7,4 @@ services:
temporal-ui-other:
environment:
- TEMPORAL_ADDRESS=localhost:9233
network_mode: host
network_mode: host

View File

@@ -1,8 +1,6 @@
# Adds CDC dependencies to main docker-compose files.
# Include platform specific file also:
# docker-compose -f docker-compose.yml -f docker-compose.linux.yml -f docker-compose.cdc.yml -f docker-compose.cdc.linux.yml up
version: "3.5"
services:
temporal-ui-standby:
image: temporalio/ui:2.21.3

View File

@@ -1,6 +1,4 @@
# Overrides for Mac/Darwin users.
version: "3.5"
services:
prometheus:
volumes:
@@ -20,4 +18,4 @@ services:
ports:
- "8080:8080"
networks:
- temporal-dev-network
- temporal-dev-network

View File

@@ -1,7 +1,5 @@
# Include this file to run Jaeger as one more dependency:
# docker-compose -f docker-compose.yml -f docker-compose.linux.yml -f docker-compose.jaeger.yml up
version: "3.5"
services:
jaeger:
image: jaegertracing/all-in-one:latest

View File

@@ -1,6 +1,4 @@
# Overrides for Linux users.
version: "3.5"
services:
prometheus:
network_mode: host
@@ -11,4 +9,4 @@ services:
temporal-ui:
environment:
- TEMPORAL_ADDRESS=localhost:7233
network_mode: host
network_mode: host

View File

@@ -1,6 +1,4 @@
# Overrides for Windows users.
version: "3.5"
services:
prometheus:
volumes:
@@ -20,4 +18,4 @@ services:
ports:
- "8080:8080"
networks:
- temporal-dev-network
- temporal-dev-network

View File

@@ -2,8 +2,6 @@
# Use to run service locally or run integration tests.
# Include platform specific file also:
# docker-compose -f docker-compose.yml -f docker-compose.linux.yml up
version: "3.5"
services:
mysql:
image: mysql:8.0.29-oracle

View File

@@ -1,5 +1,3 @@
version: "3.5"
services:
cassandra:
image: cassandra:3.11