Skip to content

Commit dda65a4

Browse files
committed
add depends_on
1 parent d095337 commit dda65a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ services:
1010
environment:
1111
SPRING_APPLICATION_JSON: '{"spring.redis.host":"redis.host"}'
1212
command: mvn -B clean test
13+
depends_on:
14+
- redis
1315
links:
1416
- redis:redis.host
1517
redis:

0 commit comments

Comments
 (0)