forked from FIRSTIsrael/lems
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
47 lines (45 loc) · 1.34 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
services:
backend:
build:
dockerfile: apps/backend/Dockerfile
context: .
args:
LEMS_DOMAIN: ${LEMS_DOMAIN}
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
networks:
lems-network:
driver: bridge