Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
Updating compose files to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
ManoMarks committed Jan 24, 2017
1 parent 33ecff6 commit 421646b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion 12factor/05_build_release_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ There are several options to inject the configuration in the build, among them
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

```
version: '2'
version: '3'
services:
mongo:
image: mongo:3.2
Expand Down
2 changes: 1 addition & 1 deletion 12factor/06_processes.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Once done, the app needs to be rebuilt `docker build -t message-app:v0.2 .`
**REDIS_HOST** needs to be added to the docker-compose file as the new release will run against this kv store.

```
version: '2'
version: '3'
services:
mongo:
image: mongo:3.2
Expand Down
2 changes: 1 addition & 1 deletion 12factor/07_port_binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The host has the responsibility to route the request to the correct application
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.

```
version: '2'
version: '3'
services:
mongo:
image: mongo:3.2
Expand Down
2 changes: 1 addition & 1 deletion developer-tools/nodejs-debugging/VSCode-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ As you can see it installs [nodemon](http://nodemon.io/), a utility that will mo
You'll start the app with the `docker-compose.yml`

```
version: "2"
version: "3"
services:
web:
Expand Down
4 changes: 2 additions & 2 deletions developer-tools/nodejs/porting/4_single_host_networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ The application container (named **app**) is connected to mongo container using
The following file (docker-compose.yml) defines the whole application

```
version: '2'
version: '3'
services:
mongo:
image: mongo:3.2
Expand Down Expand Up @@ -202,7 +202,7 @@ It will update it's configuration each time a container is started / stopped.
The new version of our docker-compose.yml is

```
version: '2'
version: '3'
services:
mongo:
image: mongo:3.2
Expand Down
2 changes: 1 addition & 1 deletion developer-tools/nodejs/porting/6_deploy_on_swarm.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ The image can now be used in our Docker Compose file.
The new version of the docker-compose.yml file is the following one

```
version: '2'
version: '3'
services:
mongo:
image: mongo:3.2
Expand Down
2 changes: 1 addition & 1 deletion windows/windows-containers/MultiContainerApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If using Windows Server 2016 and accessing from outside the VM or host, simply u
Take a closer look at the `docker-compose.windows.yml` file.

```
version: '2'
version: '3'
services:
db:
image: microsoft/mssql-server-2016-express-windows
Expand Down

0 comments on commit 421646b

Please sign in to comment.