forked from joemccann/dillinger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
web-controller.yml
43 lines (43 loc) · 1.05 KB
/
web-controller.yml
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
# web-controller.yml
apiVersion: v1
kind: ReplicationController
metadata:
labels:
name: web
name: web-controller
spec:
replicas: 2
template:
metadata:
labels:
name: web
spec:
containers:
- image: gcr.io/dillinger-cluster/dillinger:3.4.1
name: web
env:
- name: NSOLID_APPNAME
value: dillinger
- name: NSOLID_HUB
value: "nsolid-registry.nsolid:2379"
- name: NSOLID_SOCKET
value: "8000"
- name: NSOLID_TAGS
value: "nsolid-v1.4.0"
imagePullPolicy: Always
ports:
- containerPort: 8080
protocol: TCP
name: http-server
volumeMounts:
- mountPath: /opt/app/configs/dropbox/
name: dropbox-config
- mountPath: /opt/app/configs/github/
name: github-config
volumes:
- name: dropbox-config
secret:
secretName: dropbox-config
- name: github-config
secret:
secretName: github-config