Skip to content

Commit a844f00

Browse files
committed
changed artifact name, upgraded Boot version to 1.5.8, set fixed version
for MongoDB 3.4.10
1 parent 3eb715f commit a844f00

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

spring-boot-mongo/docker-compose.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
version: '3'
32

43
networks:
@@ -8,7 +7,7 @@ networks:
87
services:
98

109
boot-rest-mongo:
11-
image: mongoboot/mongoboot
10+
image: mongoboot/spring-boot-mongo
1211
ports:
1312
- "8080:8080"
1413
networks:
@@ -19,7 +18,7 @@ services:
1918
SPRING_DATA_MONGODB_URI: mongodb://mongo:27017/test
2019

2120
mongo:
22-
image: mongo:latest
21+
image: mongo:3.4.10
2322
ports:
2423
- "27017:27017"
2524
networks:

spring-boot-mongo/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>1.5.4.RELEASE</version>
9+
<version>1.5.8.RELEASE</version>
1010
<relativePath/>
1111
</parent>
1212

1313
<groupId>de.codecentric</groupId>
14-
<artifactId>mongoboot</artifactId>
14+
<artifactId>spring-boot-mongo</artifactId>
1515
<version>0.0.1-SNAPSHOT</version>
1616
<packaging>jar</packaging>
1717
<name>SpringBoot MongoDB REST</name>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM java:8
22
VOLUME /tmp
3-
ADD mongoboot*.jar mongorest.jar
3+
ADD spring-boot-mongo*.jar mongorest.jar
44
RUN sh -c 'touch /mongorest.jar'
55
ENV JAVA_OPTS="-Xmx256m -Xms128m"
66
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /mongorest.jar" ]

0 commit comments

Comments
 (0)