Update docker-compose.yml: Remove top-level version element
- Dominant language
- JavaScript
- Stars
- 363
- Forks
- 872
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 18
Description
### Prerequisites
1. Be a member of Hack for LA. (There are no fees to join.) If you have not joined yet, please follow the steps on our [Getting Started](https://www.hackforla.org/getting-started) page and attend an onboarding session.
2. You have already read our [How to Contribute to Hack for LA Guide](https://github.com/hackforla/website/blob/gh-pages/CONTRIBUTING.md).
### Overview
We need to update docker-compose.yml so that a warning is not displayed when running `docker-compose up`
### Action Items
- [x] Run `docker-compose up` and observe that a warning similar to the one shown below is displayed.
```
$ docker-compose up
time="2026-03-15T08:28:12-07:00" level=warning msg="C:\\code\\hfla\\website\\docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
```
- [ ] In your IDE, open the `docker-compose.yml` file.
- [ ] Find the top-level `version` property and remove it. It is the first line in the file.
```
version: "3"
```
- [ ] Verify that the warning is no longer displaying when running `docker-compose up`. Include before and after screenshots with your pull request.
### Resources/Instructions
1. [docker-compose.yml](https://github.com/hackforla/website/blob/eb7ea0e32c5a1d25713b4a19d59f3a074df571e3/docker-compose.yml)
2. [Info about top-level version element ](https://docs.docker.com/reference/compose-file/version-and-name/)
Contributor guide
Assessment
This issue has not been assessed yet.