-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdeployment.yml.dist
92 lines (69 loc) · 2.15 KB
/
deployment.yml.dist
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
apiVersion: apps/v1
kind: Deployment
metadata:
name: fider
namespace: fider-server
spec:
replicas: 1
selector:
matchLabels:
app: fider
template:
metadata:
labels:
app: fider
name: fider
spec:
nodeSelector:
kubernetes.io/hostname: worker-1
containers:
- name: fider
image: getfider/fider:stable
imagePullPolicy: Always
ports:
- name: nfider8n
containerPort: 3000
env:
# Public Host Name
- name: BASE_URL
value: https://feedback.yoursite.com
- name: DATABASE_URL
value: postgres://fider:s0m3g00dp4ssw0rd@db:5432/fider?sslmode=disable
# Generate a 512-bit secret here https://www.allkeysgenerator.com/Random/Security-Encryption-Key-Generator.aspx
- name: JWT_SECRET
value: VERY_STRONG_SECRET_SHOULD_BE_USED_HERE
- name: EMAIL_NOREPLY
value: [email protected]
###
# EMAIL
# Either EMAIL_MAILGUN_* or EMAIL_SMTP_* or EMAIL_AWSSES_* is required
###
# - name: EMAIL_MAILGUN_API
# value: key-yourkeygoeshere
# - name: EMAIL_MAILGUN_DOMAIN
# value: yourdomain.com
# - name: EMAIL_MAILGUN_REGION
# value: US
# - name: EMAIL_SMTP_HOST
# value: smtp.yourdomain.com
# - name: EMAIL_SMTP_PORT
# value: 587
# - name: EMAIL_SMTP_USERNAME
# value: [email protected]
# - name: EMAIL_SMTP_PASSWORD
# value: s0m3p4ssw0rd
# - name: EMAIL_SMTP_ENABLE_STARTTLS
# value: "true"
# - name: EMAIL_AWSSES_REGION
# value: us-east-1
# - name: EMAIL_AWSSES_ACCESS_KEY_ID
# value: youraccesskeygoeshere
# - name: EMAIL_AWSSES_SECRET_ACCESS_KEY
# value: yoursecretkeygoeshere
resources:
limits:
cpu: "1.0"
memory: "1024Mi"
requests:
cpu: "0.5"
memory: "512Mi"