-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (43 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
48 lines (43 loc) · 1.02 KB
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
version: '3.8'
services:
# Web Dashboard
dashboard:
build: ./web-dashboard
ports:
- "8000:8000"
environment:
- NODE_ENV=production
- PORT=8000
- MONGO_URI=mongodb://mongo:27017/pyro_guardian
- JWT_SECRET=${JWT_SECRET:-supersecret_dev_key}
- ADMIN_EMAIL=${ADMIN_EMAIL:-admin@example.com}
- ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin123}
depends_on:
- mongo
networks:
- pyro-net
# Database
mongo:
image: mongo:6.0
volumes:
- mongo_data:/data/db
networks:
- pyro-net
# Detection Engine (Simulation Mode)
detection-engine:
build: ./detection-engine
environment:
- SNS_TOPIC_ARN=${SNS_TOPIC_ARN}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_REGION=${AWS_REGION:-us-east-1}
volumes:
# Mount the code for development
- ./detection-engine:/app
networks:
- pyro-net
networks:
pyro-net:
driver: bridge
volumes:
mongo_data: