-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (48 loc) · 1.36 KB
/
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
45
46
47
48
49
50
51
version: '3.8'
services:
server:
image: meetrix/webrtc-monitor-backend:1.0
container_name: webrtc-monitor-backend
ports:
- 9100:9100
restart: on-failure
environment:
NODE_ENV: ${NODE_ENV}
SESSION_SECRET: ${SESSION_SECRET}
MONGO_DATABASE: ${MONGO_DATABASE}
MONGO_USERNAME: ${MONGO_USERNAME}
MONGO_PASSWORD: ${MONGO_PASSWORD}
MONGO_HOST: ${MONGO_HOST}
MONGO_PORT: ${MONGO_PORT}
CORS_REGEX: ${CORS_REGEX}
SMTP_HOST: ${SMTP_HOST}
SMTP_USER: ${SMTP_USER}
SMTP_PASSWORD: ${SMTP_PASSWORD}
RECEIVER_EMAIL: ${RECEIVER_EMAIL}
SENDER_EMAIL: ${SENDER_EMAIL}
AUTH_LANDING: ${AUTH_LANDING}
API_BASE_URL: ${API_BASE_URL}
SUPPORT_URL: ${SUPPORT_URL}
command: [ 'npm', 'start' ]
depends_on:
- mongo
webrtcmonitor-dashboard:
image: meetrix/webrtc-monitor-frontend:1.0
container_name: webrtc-monitor-frontend
ports:
- 3000:80
restart: on-failure
environment:
- PUBLIC_URL=/
- REACT_APP_API_BASE_URL=${API_BASE_URL_WITHOUT_SUFFIX}
- REACT_APP_SOCKET_BASE_URL=${API_BASE_URL_WITHOUT_SUFFIX}
mongo:
image: mongo:4.0
container_name: webrtc-monitor-mongodb
restart: on-failure
volumes:
- mongodata:/data/db
ports:
- 27025:27017
volumes:
mongodata: