mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-25 18:28:07 +02:00
update README.md
Signed-off-by: Lukas Pol <lukaspaespol@gmail.com>
This commit is contained in:
parent
dae03627d4
commit
2219321e4e
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ Project structure:
|
|||
|
||||
[_docker-compose.yml_](docker-compose.yml)
|
||||
```
|
||||
version: '2'
|
||||
version: '3.7'
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
|
@ -21,7 +21,7 @@ services:
|
|||
- ./tmp/db:/var/lib/postgresql/data
|
||||
...
|
||||
web:
|
||||
build: .
|
||||
build: ./web
|
||||
volumes:
|
||||
- .:/myapp
|
||||
ports:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue