We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad9605f commit d095337Copy full SHA for d095337
docker-compose.yml
@@ -1,13 +1,16 @@
1
-maven:
2
- image: maven:3.3.3-jdk-8
3
- volumes:
4
- - '.:/usr/src/app'
5
- - '~/.m2:/root/.m2'
6
- working_dir: /usr/src/app
7
- environment:
8
- SPRING_APPLICATION_JSON: '{"spring.redis.host":"redis.host"}'
9
- command: mvn -B clean test
10
- links:
11
- - redis:redis.host
12
-redis:
13
- image: redis:3.0.3
+version: '2'
+
+services:
+ maven:
+ image: maven:3.3.3-jdk-8
+ volumes:
+ - '.:/usr/src/app'
+ - '~/.m2:/root/.m2'
+ working_dir: /usr/src/app
+ environment:
+ SPRING_APPLICATION_JSON: '{"spring.redis.host":"redis.host"}'
+ command: mvn -B clean test
+ links:
14
+ - redis:redis.host
15
+ redis:
16
+ image: redis:3.0.3
0 commit comments