forked from sayue2019/wechat-service-allin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
executable file
·40 lines (38 loc) · 1.54 KB
/
docker-compose.yaml
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
30
31
32
33
34
35
36
37
38
39
40
version: "3.3"
services:
wechat-service:
image: "sayue/wechat-service-wechat-bot:latest"
restart: unless-stopped
container_name: "wechat-service-wechat-bot"
environment:
#vnc访问密码
VNC_PASSWORD: "vncpass"
TARGET_AUTO_RESTART: "yes"
INJMON_LOG_FILE: "/dev/stdout"
# dll注入状态判断接口
INJ_CONDITION: "[ -n "$(ps -aux | grep funtool | grep -v grep)" ] && exit 0"
HOOK_PROC_NAME: "WeChat"
TARGET_CMD: "wechat-start"
HOOK_DLL: "auto.dll"
#HTTP转发地址设置
FORWARD_URL: "http://127.0.0.1:5555"
#http转发端口设置
LISTEN_PORT: "5999"
#http访问密码设置
ACCESS_PASSWORD: "wechat5999"
FOR_CONDITION: "[ -n "$(sudo netstat -tunlp | grep 5999)" ] && exit 0"
#optional INJMON_LOG_FILE: "/dev/null"
#optional TARGET_LOG_FILE: "/dev/stdout"
ports:
- "8080:8080" # noVNC
#- "19088:19088" # websocket server
- "5999:5999" # forward server
#- "5900:5900" # vnc server
volumes:
- "~/bread/.wechat/WeChat Files/:/home/app/WeChat Files/"
- "~/bread/.wechat/Applcation Data/:/home/app/.wine/drive_c/users/user/Application Data/"
- "~/bread/external:/home/app/external"
extra_hosts:
- "dldir1.qq.com:127.0.0.1"
tty: true
#http://localhost:5999/api/?type=0&password=wechat5999