Gitlab - Argos ALM by PALO IT

revert changes for devops

parent 2b417c57
...@@ -5,16 +5,11 @@ WORKDIR /app ...@@ -5,16 +5,11 @@ WORKDIR /app
COPY pom.xml . COPY pom.xml .
COPY src ./src COPY src ./src
COPY mongodbca.crt .
RUN mvn package RUN mvn package
RUN chmod +x . RUN chmod +x .
RUN cp keytool -keystore /opt/java/openjdk/lib/security/cacerts -storepass changeit -noprompt -trustcacerts -importcert -file mongodbca.crt \ RUN cp target/**SNAPSHOT.jar ./app.jar
&& mvn package \
&& cp target/**SNAPSHOT.jar ./app.jar \
&& rm -rf src target pom.xml mongodbca.crt \
&& chmod +x app.jar
CMD ["java", "-jar", "app.jar"] CMD ["java", "-jar", "app.jar"]
...@@ -24,9 +24,3 @@ spring.cloud.function.definition=measureConsumer ...@@ -24,9 +24,3 @@ spring.cloud.function.definition=measureConsumer
#Producer #Producer
spring.cloud.stream.bindings.measureProducer.destination=measure spring.cloud.stream.bindings.measureProducer.destination=measure
# MONGODB
spring.data.mongodb.repositories.enabled=true # Enable Mongo repositories.
spring.data.mongodb.uri=${SPRING_DATA_MONGODB_URI}
ssl.keystore.location=/opt/java/openjdk/lib/security/cacerts
ssl.keystore.password=changeit
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment