add syncthing

This commit is contained in:
kev 2022-08-30 17:13:11 +08:00
parent c8eba657b7
commit b366bece6a
3 changed files with 24 additions and 0 deletions

View File

@ -451,6 +451,7 @@ A collection of delicious docker recipes.
- [x] jira
- [x] strapi/strapi
- [x] amancevice/superset
- [x] syncthing/syncthing
- [x] tensorflow
- [x] serving
- [x] tile38/tile38

7
syncthing/README.md Normal file
View File

@ -0,0 +1,7 @@
syncthing
=========
[Syncthing][1] is a continuous file synchronization program.
It synchronizes files between two or more computers.
[1]: https://github.com/syncthing/syncthing

View File

@ -0,0 +1,16 @@
version: "3.8"
services:
syncthing:
image: syncthing/syncthing
ports:
- "8384:8384" # Web UI
- "22000:22000/tcp" # TCP file transfers
- "22000:22000/udp" # QUIC file transfers
- "21027:21027/udp" # Receive local discovery broadcasts
volumes:
- ./data:/var/syncthing
environment:
- PUID=1000
- PGID=1000
hostname: syncthing
restart: unless-stopped