-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
84 lines (81 loc) · 2.38 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
84 lines (81 loc) · 2.38 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
76
77
78
79
80
81
82
83
84
services:
rummagene-app:
build: .
platform: linux/amd64
image: maayanlab/rummagene:0.3.19
x-kubernetes:
annotations:
maayanlab.cloud/ingress: https://rummagene.k8s.maayanlab.cloud
environment:
- PUBLIC_URL=https://rummagene.k8s.maayanlab.cloud
- DATABASE_URL=postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@rummagene-postgres/$POSTGRES_DB
- AUTHORIZATION_HEADER=$AUTHORIZATION_HEADER
- NODE_ENV=production
- ENRICH_URL=http://rummagene-enrich:8000
- NEXT_PUBLIC_GA_MEASUREMENT_ID=$NEXT_PUBLIC_GA_MEASUREMENT_ID
ports:
- 3000:3000
rummagene-latest:
image: maayanlab/proxy:1.2.16
x-kubernetes:
annotations:
maayanlab.cloud/ingress: https://rummagene.k8s.maayanlab.cloud/latest.gmt
ports:
- 80
environment:
- "nginx_redirect_00=/latest.gmt https://s3.k8s.maayanlab.cloud/rummagene/database/latest/output-clean.gmt"
rummagene-enrich:
build: enrich
platform: linux/amd64
image: maayanlab/rummagene-enrich:0.6.0
environment:
- 'ROCKET_DATABASES={postgres={url="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@rummagene-postgres/${POSTGRES_DB}"}}'
ports:
- 8000:8000
rummagene-postgres:
build: db
platform: linux/amd64
image: maayanlab/rummagene-postgres:0.1.3
environment:
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
- ENRICH_URL=http://rummagene-enrich:8000
ports:
- 5432:5432
volumes:
- rummagene-postgres:/var/lib/postgresql/data
rummagene-bot:
build: bot
platform: linux/amd64
image: maayanlab/rummagene-bot:0.3.1
pull_policy: missing
deploy:
replicas: 0
x-kubernetes:
restartPolicy: Never
# 0 minute
# 9 hour
# * day of month
# * month of year
# 1 day of week (monday)
cron: '0 9 * * 1'
environment:
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@rummagene-postgres:5432/${POSTGRES_DB}
- ENRICH_URL=http://rummagene-enrich:8000
- API_KEY
- EMAIL
- RCLONE_PATH
- RCLONE_CONFIG_S3_TYPE
- RCLONE_CONFIG_S3_PROVIDER
- RCLONE_CONFIG_S3_ENDPOINT
- RCLONE_CONFIG_S3_ACCESS_KEY_ID
- RCLONE_CONFIG_S3_SECRET_ACCESS_KEY
volumes:
rummagene-postgres:
x-kubernetes:
class: ceph-block
size: 24G
x-kubernetes:
name: rummagene
namespace: rummagene