mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Fix version in docs example
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
9e242cdc75
commit
e700d7ca6a
@ -518,7 +518,7 @@ The general format is shown here.
|
||||
|
||||
In the example below, three services are provided (`web`, `worker`, and `db`), along with two networks (`new` and `legacy`). The `db` service is reachable at the hostname `db` or `database` on the `new` network, and at `db` or `mysql` on the `legacy` network.
|
||||
|
||||
version: 2
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
web:
|
||||
|
Loading…
x
Reference in New Issue
Block a user