-
Notifications
You must be signed in to change notification settings - Fork 1
/
tugberk-web-deploy.yaml
43 lines (43 loc) · 1.11 KB
/
tugberk-web-deploy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: tugberk-web
labels:
run: tugberk-web
spec:
replicas: 1
selector:
matchLabels:
run: tugberk-web
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
run: tugberk-web
spec:
containers:
- name: tugberk-web-sqlserver
image: microsoft/mssql-server-linux:2017-latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 1433
env:
- name: ACCEPT_EULA
value: "Y"
- name: MSSQL_SA_PASSWORD
value: Passw0rd
- name: tugberk-web-app
image: tugberk-web-app
imagePullPolicy: IfNotPresent
env:
- name: ASPNETCORE_ENVIRONMENT
value: Development
- name: TUGBERKWEB_ConnectionStrings__DefaultConnection
value: Server=localhost;Database=TugberkWeb;User ID=sa;Password=Passw0rd;MultipleActiveResultSets=true
- name: ASPNETCORE_URLS
value: http://0.0.0.0:5000
ports:
- containerPort: 5000
status: {}