31 lines
649 B
YAML
31 lines
649 B
YAML
services:
|
|
watcher:
|
|
build: .
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./data:/app/data
|
|
- ./reports:/app/reports
|
|
- ./daily_briefings:/app/daily_briefings
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
dashboard:
|
|
build: .
|
|
restart: unless-stopped
|
|
command: ["python", "-m", "src.main", "dashboard", "--host", "0.0.0.0", "--port", "8517"]
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "8517:8517"
|
|
volumes:
|
|
- ./data:/app/data
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3" |