-
Notifications
You must be signed in to change notification settings - Fork 0
/
appwrite-worker-builds-deployment.yaml
139 lines (139 loc) · 4.26 KB
/
appwrite-worker-builds-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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: ./kompose convert
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: appwrite-worker-builds
name: appwrite-worker-builds
namespace: appwrite
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: appwrite-worker-builds
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-builds
spec:
containers:
- command:
- worker-builds
image: appwrite/appwrite:1.4.13
name: appwrite-worker-builds
volumeMounts:
- mountPath: /storage/functions
name: appwrite-functions
- mountPath: /storage/builds
name: appwrite-builds
env:
- name: _APP_ENV
value: production
- name: _APP_WORKER_PER_CORE
value: "6"
- name: _APP_OPENSSL_KEY_V1
value: your-secret-key
- name: _APP_EXECUTOR_SECRET
value: your-secret-key
- name: _APP_EXECUTOR_HOST
value: http://openruntimes-executor-svc.appwrite.svc/v1
- 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:
- name: _APP_VCS_GITHUB_APP_NAME
value:
- name: _APP_VCS_GITHUB_PRIVATE_KEY
value:
- name: _APP_VCS_GITHUB_APP_ID
value:
- name: _APP_FUNCTIONS_TIMEOUT
value: "900"
- name: _APP_FUNCTIONS_BUILD_TIMEOUT
value: "900"
- name: _APP_FUNCTIONS_CPUS
value: "0"
- name: _APP_FUNCTIONS_SIZE_LIMIT
value: "30000000"
- name: _APP_OPTIONS_FORCE_HTTPS
value: disabled
- name: _APP_OPTIONS_FUNCTIONS_FORCE_HTTPS
value: disabled
- name: _APP_DOMAIN
value: localhost
- name: _APP_STORAGE_DEVICE
value: local
- name: _APP_STORAGE_S3_ACCESS_KEY
value:
- name: _APP_STORAGE_S3_SECRET
value:
- name: _APP_STORAGE_S3_REGION
value: us-east-1
- name: _APP_STORAGE_S3_BUCKET
value:
- name: _APP_STORAGE_DO_SPACES_ACCESS_KEY
value:
- name: _APP_STORAGE_DO_SPACES_SECRET
value:
- name: _APP_STORAGE_DO_SPACES_REGION
value: us-east-1
- name: _APP_STORAGE_DO_SPACES_BUCKET
value:
- name: _APP_STORAGE_BACKBLAZE_ACCESS_KEY
value:
- name: _APP_STORAGE_BACKBLAZE_SECRET
value:
- name: _APP_STORAGE_BACKBLAZE_REGION
value: us-west-004
- name: _APP_STORAGE_BACKBLAZE_BUCKET
value:
- name: _APP_STORAGE_LINODE_ACCESS_KEY
value:
- name: _APP_STORAGE_LINODE_SECRET
value:
- name: _APP_STORAGE_LINODE_REGION
value: eu-central-1
- name: _APP_STORAGE_LINODE_BUCKET
value:
- name: _APP_STORAGE_WASABI_ACCESS_KEY
value:
- name: _APP_STORAGE_WASABI_SECRET
value:
- name: _APP_STORAGE_WASABI_REGION
value: eu-central-1
- name: _APP_STORAGE_WASABI_BUCKET
value:
restartPolicy: Always
volumes:
- name: appwrite-functions
persistentVolumeClaim:
claimName: appwrite-functions
- name: appwrite-builds
persistentVolumeClaim:
claimName: appwrite-builds