-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcompose.yml
78 lines (73 loc) · 2.03 KB
/
compose.yml
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
services:
backend:
build:
dockerfile: apps/backend/Dockerfile
context: .
args:
LEMS_DOMAIN: ${LEMS_DOMAIN}
SCHEDULER_URL: ${SCHEDULER_URL}
DIGITALOCEAN_KEY: ${DIGITALOCEAN_KEY}
DIGITALOCEAN_SECRET: ${DIGITALOCEAN_SECRET}
JWT_SECRET: ${JWT_SECRET}
DASHBOARD_JWT_SECRET: ${DASHBOARD_JWT_SECRET}
MONGODB_URI: ${MONGODB_URI}
MONGO_CA_CERTIFICATE: ${MONGO_CA_CERTIFICATE}
RECAPTCHA_SECRET_KEY: ${RECAPTCHA_SECRET_KEY}
DIGITALOCEAN_ENDPOINT: ${DIGITALOCEAN_ENDPOINT}
DIGITALOCEAN_SPACE: ${DIGITALOCEAN_SPACE}
RECAPTCHA: ${RECAPTCHA}
image: ${REGISTRY}/lems-backend:${IMAGE_TAG}
ports:
- '3333:3333'
networks:
- lems-network
restart: always
frontend:
build:
dockerfile: apps/frontend/Dockerfile
context: .
args:
RECAPTCHA_SITE_KEY: ${RECAPTCHA_SITE_KEY}
BASE_URL: ${BASE_URL}
NEXT_PUBLIC_BASE_URL: ${NEXT_PUBLIC_BASE_URL}
WS_URL: ${WS_URL}
NEXT_PUBLIC_WS_URL: ${NEXT_PUBLIC_WS_URL}
DIGITALOCEAN_ENDPOINT: ${DIGITALOCEAN_ENDPOINT}
DIGITALOCEAN_SPACE: ${DIGITALOCEAN_SPACE}
RECAPTCHA: ${RECAPTCHA}
image: ${REGISTRY}/lems-frontend:${IMAGE_TAG}
ports:
- '4200:4200'
networks:
- lems-network
restart: always
scheduler:
build:
dockerfile: Dockerfile
context: ./apps/scheduler
args:
PYTHON_ENV: production
MONGODB_URI: ${MONGODB_URI}
MONGO_CA_CERTIFICATE: ${MONGO_CA_CERTIFICATE}
image: ${REGISTRY}/lems-scheduler:${IMAGE_TAG}
ports:
- '8000:8000'
networks:
- lems-network
restart: always
portal:
build:
dockerfile: apps/portal/Dockerfile
context: .
args:
BASE_URL: ${BASE_URL}
NEXT_PUBLIC_BASE_URL: ${NEXT_PUBLIC_BASE_URL}
image: ${REGISTRY}/fll-events:${IMAGE_TAG}
ports:
- '3000:3000'
networks:
- lems-network
restart: always
networks:
lems-network:
driver: bridge