-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
75 lines (74 loc) · 1.68 KB
/
docker-compose.yml
File metadata and controls
75 lines (74 loc) · 1.68 KB
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
services:
chea-kg-timeseries:
build: .
# image: abird128/chea-kg-timeseries:0.4.4
image: abird128/chea-kg-timeseries:0.4.4
restart: unless-stopped
pull_policy: missing
platform: linux/amd64
environment:
- APPYTER_PUBLIC_URL
- APPYTER_PROXY=true
- APPYTER_DATA_DIR
- APPYTER_EXECUTOR=kube::abird128/chea-kg-timeseries:0.4.4#?namespace=${KUBE_NAMESPACE}&resources.requests.memory=8Gi
ports:
- 5050:5000
x-kubernetes:
annotations:
maayanlab.cloud/ingress: ${APPYTER_PUBLIC_URL}
serviceAccountName: chea-kg-timeseries-sa
x-kubernetes:
name: chea-kg-timeseries
namespace: ${KUBE_NAMESPACE}
apply: |
apiVersion: v1
kind: ServiceAccount
metadata:
name: chea-kg-timeseries-sa
namespace: ${KUBE_NAMESPACE}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: chea-kg-timeseries-role
namespace: ${KUBE_NAMESPACE}
rules:
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- batch
- extensions
resources:
- jobs
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: chea-kg-timeseries-role-binding
namespace: ${KUBE_NAMESPACE}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: chea-kg-timeseries-role
subjects:
- kind: ServiceAccount
name: chea-kg-timeseries-sa
namespace: ${KUBE_NAMESPACE}