-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (29 loc) · 838 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (29 loc) · 838 Bytes
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
version: '3'
services:
mongo:
image: mongo
restart: on-failure
volumes:
- /home/dryairship:/dryairship # For dumping/restoring dbs
frontend:
image: dryairship/online-election-manager:frontend
build:
context: ./frontend
args:
REACT_APP_DISPLAY_PHOTOS: "false"
REACT_APP_MAX_PREFERENCES: "3"
REACT_APP_ELECTION_TITLE: "General Elections 2021 | IIT Kanpur"
ports:
- "39741:80"
volumes:
- /home/dryairship:/dryairship # Solely for debugging purposes
backend:
image: dryairship/online-election-manager:backend
build:
context: ./backend
ports:
- "39740:4000"
volumes:
- ./resources:/oem/resources
- ./backend-config.yml:/oem/backend-config.yml
- /home/dryairship:/dryairship # Solely for debugging purposes