forked from comdotwww/ms_graph_docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
24 lines (23 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: "3.7"
services:
ms_graph_docker:
image: yourwit/ms_graph_docker:latest
# bridge = 默认的网络模式,容器之间不需要互相通信
# host = 移除了宿主机与容器之间的网络隔离,容器直接使用宿主机的网络,这样就能在容器中访问宿主机网络
# none = 禁用所有的网络
# service:[service name]
# container:[container name/id]
network_mode: bridge
# restart: always
container_name: ms_graph_docker
# volumes:
environment:
# 以下配置项值均为字符串
TZ: "Asia/Shanghai"
TG_BOT_TOKEN: "11111:11111" # telegram bot token,可通过 t.me/botfather 获取
TG_SEND_ID: "11111" # telegram bot 主人的id
CLIENT_ID: "client_idclient_idclient_idclient_id"
CLIENT_SECRET: "client_secretclient_secretclient_secretclient_secret"
TOKEN_FIRST: "" #必填
PROXY_URL: "null" # 可选 代理 url ,如反向代理地址 http://example.com/ 则填写 example.com 设置方法 https://www.hostloc.com/thread-805441-1-1.html
IS_API_URLS_EXTEND: "false" # 可选 是否调用补充的 api 接口