-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 800 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (30 loc) · 800 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.8'
services:
dashboard:
build: .
container_name: storage_dashboard
command: streamlit run dashboard/app.py --server.address=0.0.0.0
ports:
- "8501:8501"
volumes:
- ./database:/app/database
- ./.env:/app/.env
- ./dashboard:/app/dashboard
- ./collectors:/app/collectors
- ./scheduler:/app/scheduler
restart: unless-stopped
environment:
- TZ=America/New_York
scheduler:
build: .
container_name: storage_scheduler
command: python scheduler/daily_job.py
volumes:
- ./database:/app/database
- ./.env:/app/.env
- ./dashboard:/app/dashboard
- ./collectors:/app/collectors
- ./scheduler:/app/scheduler
restart: unless-stopped
environment:
- TZ=America/New_York