syncthing client

This commit is contained in:
Fl1tzi 2023-10-28 23:25:08 +02:00
parent a6dfd37e94
commit 3efb12585d
No known key found for this signature in database
GPG key ID: 06B333727810C686
2 changed files with 20 additions and 0 deletions

1
syncthing/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
data/

19
syncthing/compose.sh Executable file
View file

@ -0,0 +1,19 @@
#/bin/bash
# designed for local machines (not accessible over the internet)
podman pod create --name=syncthing \
-p 8384:8384 \
-p 22000:22000/tcp \
-p 22000:22000/udp \
-p 21027:21027/udp
# 8384 = web ui
# 22000 = file transfer
# 21027 = local discovery
podman create \
--pod syncthing \
--name client \
--volume=./data/:/var/syncthing/:Z \
docker.io/syncthing/syncthing