注意不要公开.
官方代码开源仓库
https://github.com/WhatsApp/proxy
搭建方法
version: '3.3'
services:
whatsappproxy:
container_name: whatsapp_proxy
image: facebook/whatsapp_proxy:latest
restart: unless-stopped
ports:
# - "80:80" # HTTP
- "27891:443" # HTTPS
# - "5222:5222" # whatsapp
# - "8199:8199" # HAPROXY statistics page
# - "8080:8080" # HTTP with accept-proxy processing
# - "8443:8443" # HTTPS with accept-proxy processing
# - "8222:8222" # JABBER with accept-proxy processing
- "27892:587" # whatsapp.net
# - "7777:7777" # whatsapp.net
healthcheck:
test: /usr/local/bin/healthcheck.sh
interval: 10s
start_period: 5s
environment:
- PUBLIC_IP=服务器公网IP
使用方法
在设置-存储空间与数据-网络/代理-设置代理 里添加就行
先添加IP, 然后设置聊天端口和媒体端口.
评论区