mirror of https://github.com/docker/docs.git
Remove deprecated `links` feature
This commit is contained in:
parent
ca38a3eacf
commit
3215345bd7
|
@ -35,11 +35,11 @@ A `docker-compose.yml` looks like this:
|
|||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- 5000:5000
|
||||
volumes:
|
||||
- .:/code
|
||||
- logvolume01:/var/log
|
||||
links:
|
||||
depends_on:
|
||||
- redis
|
||||
redis:
|
||||
image: redis
|
||||
|
|
Loading…
Reference in New Issue