-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.dev.yml
35 lines (34 loc) · 961 Bytes
/
docker-compose.dev.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
version: '3'
services:
client:
container_name: client
build:
context: ./client
dockerfile: Dockerfile.dev
ports:
- 8080:8080
volumes:
- ./client:/usr/src/app
depends_on:
- server
server:
container_name: server
build:
context: ./server
dockerfile: Dockerfile.dev
environment:
- NODE_ENV=development
- DB_URL=mongodb://host.docker.internal:27017/maxplorateur
- JWT_SECRET=myJwtSecret
- JWT_DURATION=365 days
- SCHEDULE=*/10 * * * * # */10 * * * * || 0 0 5 31 2 *
- EMAIL=
- PASSWORD=
- DELAY=150
- MAX_ALERTS_PER_USER=6
- IS_REGISTRATION_OPEN=true
- WHITELIST=http://localhost:8080
ports:
- 3000:3000
volumes:
- ./server:/usr/src/app