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
dfc75504
Commit
dfc75504
authored
Jul 14, 2020
by
Manuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restGateway: added database deployment
parent
d728e14e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
1 deletion
+41
-1
deployment.yml
src/rest-gateway/deployment/deployment.yml
+41
-1
No files found.
src/rest-gateway/deployment/deployment.yml
View file @
dfc75504
...
...
@@ -31,4 +31,44 @@ spec:
-
name
:
rest-gateway
image
:
alexx882/rest-gateway
ports
:
-
containerPort
:
5000
\ No newline at end of file
-
containerPort
:
5000
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
rest-gateway-db
spec
:
type
:
LoadBalancer
selector
:
app
:
rest-gateway-db
ports
:
-
name
:
http
port
:
27017
targetPort
:
27017
nodePort
:
30402
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
rest-gateway-db
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
rest-gateway-db
template
:
metadata
:
labels
:
app
:
rest-gateway-db
spec
:
containers
:
-
name
:
rest-gateway-db
image
:
mongo
env
:
-
name
:
MONGO_INITDB_ROOT_USERNAME
value
:
root
-
name
:
MONGO_INITDB_ROOT_PASSWORD
value
:
root
ports
:
-
containerPort
:
27017
\ 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