-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (38 loc) · 887 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (38 loc) · 887 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
33
34
35
36
37
38
39
40
41
42
version: '3.8'
services:
secureshield-app:
build: .
image: secureshield-app:latest
environment:
- NODE_ENV=production
- PORT=3000
- MONGODB_URL=mongodb://mongodb:27017/secureshield
- JWT_SECRET=thisisasamplesecret
- JWT_ACCESS_EXPIRATION_MINUTES=30
- JWT_REFRESH_EXPIRATION_DAYS=30
- JWT_RESET_PASSWORD_EXPIRATION_MINUTES=10
- JWT_VERIFY_EMAIL_EXPIRATION_MINUTES=10
ports:
- '3000:3000'
depends_on:
- mongodb
volumes:
- app-uploads:/usr/src/app/server/uploads
networks:
- secureshield-network
restart: unless-stopped
mongodb:
image: mongo:6.0
ports:
- '27017:27017'
volumes:
- dbdata:/data/db
networks:
- secureshield-network
restart: unless-stopped
volumes:
dbdata:
app-uploads:
networks:
secureshield-network:
driver: bridge