Merge pull request #11250 from sohmil97/patch-1

update docker-compose version
This commit is contained in:
Usha Mandya 2020-09-22 14:23:51 +01:00 committed by GitHub
commit 8f2327a1aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -30,17 +30,17 @@ so they can be run together in an isolated environment.
A `docker-compose.yml` looks like this:
version: '2.0'
version: '3'
services:
web:
build: .
ports:
- "5000:5000"
- "5000:5000"
volumes:
- .:/code
- logvolume01:/var/log
- .:/code
- logvolume01:/var/log
links:
- redis
- redis
redis:
image: redis
volumes: