-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappwrite-schedule-deployment.yaml
56 lines (55 loc) · 1.46 KB
/
appwrite-schedule-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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: ./kompose convert
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: appwrite-schedule
name: appwrite-schedule
namespace: appwrite
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: appwrite-schedule
template:
metadata:
annotations:
kompose.cmd: ./kompose convert
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/appwrite: "true"
io.kompose.service: appwrite-schedule
spec:
containers:
- command:
- schedule
image: appwrite/appwrite:1.4.13
name: appwrite-schedule
env:
- name: _APP_ENV
value: production
- name: _APP_WORKER_PER_CORE
value: "6"
- name: _APP_OPENSSL_KEY_V1
value: your-secret-key
- 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
restartPolicy: Always