From 2c8bcba074da56aa8d4084dd5a63d6f28f1aee67 Mon Sep 17 00:00:00 2001 From: xzsk2 Date: Sun, 30 May 2021 13:39:48 +0800 Subject: [PATCH] Test --- docker-compose.yml | 13 ++----------- efb/profiles/default/milkice.qq/config.yaml | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 652e25b..14b744c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,10 +7,7 @@ services: restart: unless-stopped volumes: - ./efb:/app/config - networks: - efbm: - aliases: - - efb + network_mode: "host" depends_on: - mirai @@ -21,10 +18,4 @@ services: volumes: - ./mirai/config:/app/config - ./mirai/bots:/app/bots - networks: - efbm: - aliases: - - mirai - -networks: - efbm: \ No newline at end of file + network_mode: "host" diff --git a/efb/profiles/default/milkice.qq/config.yaml b/efb/profiles/default/milkice.qq/config.yaml index 49c0c40..40a1bd8 100644 --- a/efb/profiles/default/milkice.qq/config.yaml +++ b/efb/profiles/default/milkice.qq/config.yaml @@ -1,6 +1,6 @@ Client: mirai mirai: qq: xxxxxxxx # 这里换成登录的 QQ 号 - host: "mirai" # Mirai HTTP API 监听地址,一般是 127.0.0.1 + host: "127.0.0.1" # Mirai HTTP API 监听地址,一般是 127.0.0.1 port: 8080 # Mirai HTTP API 监听端口,一般是 8080 authKey: "xxxxxxxx" # 这里填入在配置 Mirai API HTTP 时生成的 authKey \ No newline at end of file