first commit
This commit is contained in:
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
monitor:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config.yaml:/app/config.yaml:ro
|
||||
- ./last_notifications.json:/app/last_notifications.json
|
||||
- ./monitor.log:/app/monitor.log
|
||||
# 环境变量方式配置邮件(可选,优先级高于 config.yaml)
|
||||
# environment:
|
||||
# - SMTP_HOST=smtp.gmail.com
|
||||
# - SMTP_PORT=587
|
||||
# - SMTP_USER=your_email@gmail.com
|
||||
# - SMTP_PASSWORD=your_app_password
|
||||
Reference in New Issue
Block a user