Skip to content

Commit 421646b

Browse files
committed
Updating compose files to v3
1 parent 33ecff6 commit 421646b

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

12factor/05_build_release_run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ There are several options to inject the configuration in the build, among them
5050
We'll go for the second option and define a docker-compose file where the MONGO_URL will be set with the value of the execution environment
5151

5252
```
53-
version: '2'
53+
version: '3'
5454
services:
5555
mongo:
5656
image: mongo:3.2

12factor/06_processes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Once done, the app needs to be rebuilt `docker build -t message-app:v0.2 .`
3232
**REDIS_HOST** needs to be added to the docker-compose file as the new release will run against this kv store.
3333

3434
```
35-
version: '2'
35+
version: '3'
3636
services:
3737
mongo:
3838
image: mongo:3.2

12factor/07_port_binding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The host has the responsibility to route the request to the correct application
1111
Docker already handles that for us, as we can see in the docker-compose file. The **app** container exposes port 80 internally and the host maps it against its port 8000.
1212

1313
```
14-
version: '2'
14+
version: '3'
1515
services:
1616
mongo:
1717
image: mongo:3.2

developer-tools/nodejs-debugging/VSCode-README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ As you can see it installs [nodemon](http://nodemon.io/), a utility that will mo
4343
You'll start the app with the `docker-compose.yml`
4444

4545
```
46-
version: "2"
46+
version: "3"
4747
4848
services:
4949
web:

developer-tools/nodejs/porting/4_single_host_networking.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ The application container (named **app**) is connected to mongo container using
143143
The following file (docker-compose.yml) defines the whole application
144144

145145
```
146-
version: '2'
146+
version: '3'
147147
services:
148148
mongo:
149149
image: mongo:3.2
@@ -202,7 +202,7 @@ It will update it's configuration each time a container is started / stopped.
202202
The new version of our docker-compose.yml is
203203

204204
```
205-
version: '2'
205+
version: '3'
206206
services:
207207
mongo:
208208
image: mongo:3.2

developer-tools/nodejs/porting/6_deploy_on_swarm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The image can now be used in our Docker Compose file.
120120
The new version of the docker-compose.yml file is the following one
121121

122122
```
123-
version: '2'
123+
version: '3'
124124
services:
125125
mongo:
126126
image: mongo:3.2

windows/windows-containers/MultiContainerApp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If using Windows Server 2016 and accessing from outside the VM or host, simply u
3636
Take a closer look at the `docker-compose.windows.yml` file.
3737

3838
```
39-
version: '2'
39+
version: '3'
4040
services:
4141
db:
4242
image: microsoft/mssql-server-2016-express-windows

0 commit comments

Comments
 (0)