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
bc1e49e5
Commit
bc1e49e5
authored
Aug 20, 2019
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Semantic Linking: updated deployment files
parent
c8376756
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
21 deletions
+20
-21
Dockerfile
data-hub/semantic-linking-microservice/Dockerfile
+2
-0
deployment.yml
...b/semantic-linking-microservice/deployment/deployment.yml
+18
-3
service.yml
...-hub/semantic-linking-microservice/deployment/service.yml
+0
-18
No files found.
data-hub/semantic-linking-microservice/Dockerfile
View file @
bc1e49e5
...
@@ -7,11 +7,13 @@ ENV https_proxy http://proxy.uni-klu.ac.at:3128/
...
@@ -7,11 +7,13 @@ ENV https_proxy http://proxy.uni-klu.ac.at:3128/
RUN
apt-get update
RUN
apt-get update
RUN
pip
install
flask
RUN
pip
install
flask
RUN
pip
install
connexion[swagger-ui]
RUN
pip
install
connexion[swagger-ui]
RUN
pip
install
pika
EXPOSE
5000
EXPOSE
5000
WORKDIR
/app
WORKDIR
/app
COPY
data-hub/semantic-linking-microservice/app/ /app/
COPY
data-hub/semantic-linking-microservice/app/ /app/
COPY
modules/ /app/
RUN
chmod
a+x main.py
RUN
chmod
a+x main.py
CMD
["python", "./main.py"]
CMD
["python", "./main.py"]
\ No newline at end of file
data-hub/semantic-linking-microservice/deployment/deployment.yml
View file @
bc1e49e5
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
semantic-linking
spec
:
type
:
LoadBalancer
externalIPs
:
-
143.205.173.36
selector
:
app
:
semantic-linking
ports
:
-
name
:
http
port
:
80
targetPort
:
5000
nodePort
:
30101
protocol
:
TCP
---
apiVersion
:
apps/v1
apiVersion
:
apps/v1
kind
:
Deployment
kind
:
Deployment
metadata
:
metadata
:
name
:
semantic-linking
name
:
semantic-linking
spec
:
spec
:
replicas
:
2
replicas
:
1
selector
:
selector
:
matchLabels
:
matchLabels
:
app
:
semantic-linking
app
:
semantic-linking
...
...
data-hub/semantic-linking-microservice/deployment/service.yml
deleted
100644 → 0
View file @
c8376756
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
semantic-linking
spec
:
type
:
LoadBalancer
externalIPs
:
-
143.205.173.36
selector
:
app
:
semantic-linking
ports
:
-
name
:
http
port
:
80
targetPort
:
5000
nodePort
:
30101
protocol
:
TCP
\ 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