Skip to content

Commit 37e6ff6

Browse files
authored
Merge pull request tecladocode#159 from LUS24/leospairani/cou-525-docker-composeyml-version-is-obsolete
Removed version key from docker-compose.yml and docs
2 parents ec5d3b4 + e61e678 commit 37e6ff6

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

docs/docs/04_docker_intro/04_run_with_docker_compose/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ If you have Docker Desktop installed, you already have Docker Compose. If you wa
1313
Create a file called `docker-compose.yml` in the root of your project (alongside your `Dockerfile`). Inside it, add the following contents:
1414

1515
```yaml
16-
version: '3'
1716
services:
1817
web:
1918
build: .

docs/docs/04_docker_intro/04_run_with_docker_compose/end/docker-compose.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3'
21
services:
32
web:
43
build: .

docs/docs/11_deploy_to_render/06_run_everything_docker_compose/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Up until now we've been running `docker compose up` to start the REST API contai
55
Now let's modify our `docker-compose.yml` file to include spinning up a new PostgreSQL database.
66

77
```yaml
8-
version: '3'
98
services:
109
web:
1110
build: .

docs/docs/11_deploy_to_render/06_run_everything_docker_compose/end/docker-compose.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3'
21
services:
32
web:
43
build: .

0 commit comments

Comments
 (0)