![](/style/images/good.png)
5
![](/style/images/bad.png)
Bark服务端搭建
source link: https://azhuge233.com/bark%e6%9c%8d%e5%8a%a1%e7%ab%af%e6%90%ad%e5%bb%ba/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Bark是一款iOS平台的开源消息推送App
- iOS设备下载Bark
- Bark服务端可执行文件 Github 或者 使用Docker
方法一:Docker安装
- 下载Bark-server镜像
docker pull finab/bark-server
docker pull finab/bark-server
- 运行镜像(端口和数据路径可以自行变动)
docker run -dt --name bark -p 8080:8080 -v `pwd`/bark-data:/data finab/bark-server
docker run -dt --name bark -p 8080:8080 -v `pwd`/bark-data:/data finab/bark-server
- 测试
curl http://0.0.0.0:8080/ping
curl http://0.0.0.0:8080/ping
方法二:可执行文件
- 下载可执行文件 Github
- 给予可执行权限
chmod +x Bark_linux_amd64
chmod +x Bark_linux_amd64
- 执行文件
./Bark_linux_amd64 -ip 0.0.0.0 -port [your port here]
./Bark_linux_amd64 -ip 0.0.0.0 -port [your port here]
- 测试推送
此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据。
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK