-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 884 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 884 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
services:
pyro-camera-api:
build:
context: ./pyro_camera_api
image: pyronear/pyro-camera-api:latest
container_name: pyro-camera-api
environment:
CAM_USER: ${CAM_USER}
CAM_PWD: ${CAM_PWD}
MEDIAMTX_SERVER_IP: ${MEDIAMTX_SERVER_IP}
volumes:
- ./data:/usr/src/app/data
restart: always
network_mode: host
logging:
driver: json-file
options:
max-size: "100m"
max-file: "5"
engine:
build:
context: ./engine
image: pyronear/pyro-engine:latest
container_name: engine
environment:
API_URL: ${API_URL}
CAM_USER: ${CAM_USER}
CAM_PWD: ${CAM_PWD}
volumes:
- ./data:/usr/src/app/data
command: python run.py
restart: always
network_mode: host
logging:
driver: json-file
options:
max-size: "100m"
max-file: "5"