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