-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 732 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (28 loc) · 732 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
services:
mail2telegram:
build: .
container_name: mail2telegram
restart: always
environment:
- CONFIG_FILE=/app/config.py
- LANGUAGE=Chinese # Chinese or English
- TIMEZONE=Asia/Shanghai # 设置你的时区
- ENABLE_LOGGING=true # 是否开启日志
- ENABLE_EVC=false # 扩展功能,提取邮件验证码后发送到剪贴板
volumes:
- ./config.py:/app/config.py
- ./log:/app/log
- ./tools:/app/tools
logging:
driver: "json-file"
options:
max-size: "5m"
max-file: "5"
# 扩展内容,若不需要请把下面全部删除
networks:
- evc
networks:
evc:
name: evc
driver: bridge
external: false