Files
temporal/develop/docker-compose/docker-compose.linux.yml
YeZhu d4d43259b6 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>
2024-10-09 10:38:26 -07:00

13 lines
261 B
YAML

# Overrides for Linux users.
services:
prometheus:
network_mode: host
volumes:
- ./prometheus-linux:/etc/prometheus
grafana:
network_mode: host
temporal-ui:
environment:
- TEMPORAL_ADDRESS=localhost:7233
network_mode: host