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
133b47b5
Commit
133b47b5
authored
Jul 05, 2021
by
Manuel Herold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added deployment information
parent
a463f079
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
2 deletions
+45
-2
deployment.yml
src/demo/demo-backend/deployment/deployment.yml
+43
-0
project.conf
src/demo/demo-backend/nginx/project.conf
+2
-2
No files found.
src/demo/demo-backend/deployment/deployment.yml
0 → 100644
View file @
133b47b5
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
dashboard-backend
spec
:
type
:
LoadBalancer
selector
:
app
:
dashboard-backend
ports
:
-
name
:
https
port
:
443
targetPort
:
443
nodePort
:
30469
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
dashboard-backend
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
dashboard-backend
template
:
metadata
:
labels
:
app
:
dashboard-backend
spec
:
containers
:
-
name
:
dashboard
image
:
alexx882/demo-backend
ports
:
-
containerPort
:
443
imagePullPolicy
:
Always
volumeMounts
:
-
mountPath
:
/certs
name
:
articonf
volumes
:
-
name
:
articonf
hostPath
:
path
:
/srv/articonf
type
:
Directory
\ No newline at end of file
src/demo/demo-backend/nginx/project.conf
View file @
133b47b5
...
...
@@ -3,8 +3,8 @@ server {
listen
443
ssl
;
server_name
docker_flask_gunicorn_nginx
;
ssl_certificate
/
certs
/
fullchain_live
.
pem
;
ssl_certificate_key
/
certs
/
privkey_live
.
pem
;
ssl_certificate
/
certs
/
articonf1
.
crt
;
ssl_certificate_key
/
certs
/
articonf1
.
key
;
location
/ {
proxy_pass
http
://
flask_app
:
8000
;
...
...
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