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:
|
web:
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- 5000:5000
|
||||||
volumes:
|
volumes:
|
||||||
- .:/code
|
- .:/code
|
||||||
- logvolume01:/var/log
|
- logvolume01:/var/log
|
||||||
links:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
|
|
Loading…
Reference in New Issue