Gitlab - Argos ALM by PALO IT
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
poc-measure-rest
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Luis Eduardo Oviedo Granados
poc-measure-rest
Commits
2a5d58bf
Commit
2a5d58bf
authored
Aug 29, 2023
by
José Antonio Herrera Castillo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert changes for devops
parent
2b417c57
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
12 deletions
+1
-12
Dockerfile
Dockerfile
+1
-6
src/main/resources/application.properties
src/main/resources/application.properties
+0
-6
No files found.
Dockerfile
View file @
2a5d58bf
...
...
@@ -5,16 +5,11 @@ WORKDIR /app
COPY
pom.xml .
COPY
src ./src
COPY
mongodbca.crt .
RUN
mvn package
RUN
chmod
+x .
RUN
cp
keytool
-keystore
/opt/java/openjdk/lib/security/cacerts
-storepass
changeit
-noprompt
-trustcacerts
-importcert
-file
mongodbca.crt
\
&&
mvn package
\
&&
cp
target/
**
SNAPSHOT.jar ./app.jar
\
&&
rm
-rf
src target pom.xml mongodbca.crt
\
&&
chmod
+x app.jar
RUN
cp
target/
**
SNAPSHOT.jar ./app.jar
CMD
["java", "-jar", "app.jar"]
src/main/resources/application.properties
View file @
2a5d58bf
...
...
@@ -24,9 +24,3 @@ spring.cloud.function.definition=measureConsumer
#Producer
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment