Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
c678e74b
Commit
c678e74b
authored
Jun 28, 2021
by
Manuel Herold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[trust] added db deployment to deployment file
parent
826c3dbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
1 deletion
+46
-1
deployment.yml
...tation-calculation-microservice/deployment/deployment.yml
+46
-1
No files found.
src/data-hub/reputation-calculation-microservice/deployment/deployment.yml
View file @
c678e74b
...
@@ -31,4 +31,49 @@ spec:
...
@@ -31,4 +31,49 @@ spec:
-
name
:
reputation-calculation
-
name
:
reputation-calculation
image
:
alexx882/reputation-calculation-microservice
image
:
alexx882/reputation-calculation-microservice
ports
:
ports
:
-
containerPort
:
5000
-
containerPort
:
5000
\ No newline at end of file
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
rest-gateway-db
spec
:
type
:
LoadBalancer
selector
:
app
:
reputation-calculation-db
ports
:
-
name
:
http
port
:
27017
targetPort
:
27017
nodePort
:
30108
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
reputation-calculation-db
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
reputation-calculation-db
template
:
metadata
:
labels
:
app
:
reputation-calculation-db
spec
:
containers
:
-
name
:
reputation-calculation-db
image
:
mongo
env
:
-
name
:
MONGO_INITDB_ROOT_USERNAME
value
:
root
-
name
:
MONGO_INITDB_ROOT_PASSWORD
value
:
root
ports
:
-
containerPort
:
27017
volumeMounts
:
-
mountPath
:
/data/db
name
:
dbdata
volumes
:
-
name
:
dbdata
\ 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