File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
-
2
1
version : ' 3'
3
2
4
3
networks :
@@ -8,7 +7,7 @@ networks:
8
7
services :
9
8
10
9
boot-rest-mongo :
11
- image : mongoboot/mongoboot
10
+ image : mongoboot/spring-boot-mongo
12
11
ports :
13
12
- " 8080:8080"
14
13
networks :
@@ -19,7 +18,7 @@ services:
19
18
SPRING_DATA_MONGODB_URI : mongodb://mongo:27017/test
20
19
21
20
mongo :
22
- image : mongo:latest
21
+ image : mongo:3.4.10
23
22
ports :
24
23
- " 27017:27017"
25
24
networks :
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >org.springframework.boot</groupId >
8
8
<artifactId >spring-boot-starter-parent</artifactId >
9
- <version >1.5.4 .RELEASE</version >
9
+ <version >1.5.8 .RELEASE</version >
10
10
<relativePath />
11
11
</parent >
12
12
13
13
<groupId >de.codecentric</groupId >
14
- <artifactId >mongoboot </artifactId >
14
+ <artifactId >spring-boot-mongo </artifactId >
15
15
<version >0.0.1-SNAPSHOT</version >
16
16
<packaging >jar</packaging >
17
17
<name >SpringBoot MongoDB REST</name >
Original file line number Diff line number Diff line change 1
1
FROM java:8
2
2
VOLUME /tmp
3
- ADD mongoboot *.jar mongorest.jar
3
+ ADD spring-boot-mongo *.jar mongorest.jar
4
4
RUN sh -c 'touch /mongorest.jar'
5
5
ENV JAVA_OPTS="-Xmx256m -Xms128m"
6
6
ENTRYPOINT [ "sh" , "-c" , "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /mongorest.jar" ]
You can’t perform that action at this time.
0 commit comments