-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappwrite-worker-certificates-deployment.yaml
81 lines (81 loc) · 2.37 KB
/
appwrite-worker-certificates-deployment.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
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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: ./kompose convert
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: appwrite-worker-certificates
name: appwrite-worker-certificates
namespace: appwrite
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: appwrite-worker-certificates
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: ./kompose convert
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/appwrite: "true"
io.kompose.service: appwrite-worker-certificates
spec:
containers:
- command:
- worker-certificates
image: appwrite/appwrite:1.4.13
name: appwrite-worker-certificates
volumeMounts:
- mountPath: /storage/config
name: appwrite-config
- mountPath: /storage/certificates
name: appwrite-certificates
env:
- name: _APP_ENV
value: production
- name: _APP_WORKER_PER_CORE
value: "6"
- name: _APP_OPENSSL_KEY_V1
value: your-secret-key
- name: _APP_DOMAIN
value: localhost
- name: _APP_DOMAIN_TARGET
value: localhost
- name: _APP_DOMAIN_FUNCTIONS
value: functions.localhost
- name: _APP_SYSTEM_SECURITY_EMAIL_ADDRESS
value: [email protected]
- name: _APP_REDIS_HOST
value: redis-svc.appwrite.svc
- name: _APP_REDIS_PORT
value: "6379"
- name: _APP_REDIS_USER
value:
- name: _APP_REDIS_PASS
value:
- name: _APP_DB_HOST
value: mariadb-svc.appwrite.svc
- name: _APP_DB_PORT
value: "3306"
- name: _APP_DB_SCHEMA
value: appwrite
- name: _APP_DB_USER
value: user
- name: _APP_DB_PASS
value: password
- name: _APP_LOGGING_PROVIDER
value:
- name: _APP_LOGGING_CONFIG
value:
restartPolicy: Always
volumes:
- name: appwrite-config
persistentVolumeClaim:
claimName: appwrite-config
- name: appwrite-certificates
persistentVolumeClaim:
claimName: appwrite-certificates