forked from vACDM/vacdm-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (43 loc) · 845 Bytes
/
docker-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
version: '2.4'
services:
api:
build:
context: .
dockerfile: ./Dockerfile
args:
- NODE_ENV=development
target: build
command: npm run dev
ports:
- '3030:3000/tcp'
- '9229:9229/tcp'
volumes:
- .:/opt:delegated
environment:
- MONGO_URI
- CLIENT_ID
- CLIENT_SECRET
- PUBLIC_URL
- VATSIM_AUTH_URL
- VACC_AUTH_URL
- VACC_AUTH_TOKEN
- VACC_LOGO_URL
- VACC_IMPRINT_URL
- JWT_SECRET
- ALLOW_SIM=true
- ALLOW_OBS_MASTER=true
worker:
build:
context: .
dockerfile: ./Dockerfile
args:
- NODE_ENV=development
target: build
command: npm run dev
ports:
- '9230:9229/tcp'
volumes:
- .:/opt:delegated
environment:
- MONGO_URI
- ROLE=WORKER