-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
54 lines (52 loc) · 1.37 KB
/
docker-compose.yaml
File metadata and controls
54 lines (52 loc) · 1.37 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
services:
l2s2-app:
build: .
platform: linux/amd64
image: maayanlab/l2s2:0.2.28
x-kubernetes:
imagePullPolicy: IfNotPresent
annotations:
maayanlab.cloud/ingress: https://l2s2.maayanlab.cloud
environment:
- PUBLIC_URL=https://l2s2.maayanlab.cloud
- DATABASE_URL=postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@l2s2-postgres/$POSTGRES_DB
- AUTHORIZATION_HEADER=$AUTHORIZATION_HEADER
- NODE_ENV=production
- ENRICH_URL=http://l2s2-enrich:8000
- NEXT_PUBLIC_GA_MEASUREMENT_ID=$NEXT_PUBLIC_GA_MEASUREMENT_ID
ports:
- 3000:3000
l2s2-enrich:
build: enrich
platform: linux/amd64
image: maayanlab/l2s2-enrich:0.3.0
deploy:
resources:
reservations:
memory: 5Gb
environment:
- 'ROCKET_DATABASES={postgres={url="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@l2s2-postgres/${POSTGRES_DB}"}}'
ports:
- 8000:8000
l2s2-postgres:
build: db
platform: linux/amd64
image: maayanlab/l2s2-postgres:0.0.1
shm_size: 1Gb
environment:
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
- ENRICH_URL=http://l2s2-enrich:8000
ports:
- 5432:5432
volumes:
- l2s2-data-2:/var/lib/postgresql/data
volumes:
l2s2-data-2:
x-kubernetes:
size: 50Gi
class: gp2
x-kubernetes:
name: l2s2
namespace: l2s2