Skip to content

Commit 9ffed2a

Browse files
author
James Lee
committed
upgrade to dc v3 and add depends_on
1 parent b3823ad commit 9ffed2a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
version: '2'
1+
version: '3'
22
services:
33
dockerapp:
44
build: .
55
ports:
66
- "5000:5000"
77
volumes:
88
- ./app:/app
9-
9+
depends_on:
10+
- redis
1011
redis:
1112
image: redis:3.2.0

0 commit comments

Comments
 (0)