见贴子:
https://www.cnblogs.com/jackadam/p/8568833.html
更新docker-compose#
更新一个docker-compose文件,用来使用docker-compose启动。同时包含syncthing 和 discosrv。
不需要discosrv的可以删掉。
version: '2'
services:
syncthing:
image: syncthing/syncthing
container_name: syncthing
volumes:
- syncthing_con=/var/syncthing/config
- /opt/data=/var/syncthing"]
ports :
- "8384:8384"
- "22000:22000"
- "21027:21027/udp"
networks:
- sync_net
restart: always
discosrv:
image: syncthing/discosrv
container_name: discosrv
volumes:
- discosrv_con=/var/stdiscosrv
ports :
- "19200:19200"
- "8443:8443"
networks:
- sync_net
restart: always
networks:
sync_net:
volumes:
syncthing_con:
discosrv_con:
「一键投喂 软糖/蛋糕/布丁/牛奶/冰阔乐!」
(๑>ڡ<)☆谢谢老板~
使用微信扫描二维码完成支付
