From 3efb12585d7d06118eb296c1b63d5ee30047074f Mon Sep 17 00:00:00 2001 From: Fl1tzi Date: Sat, 28 Oct 2023 23:25:08 +0200 Subject: [PATCH] syncthing client --- syncthing/.gitignore | 1 + syncthing/compose.sh | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 syncthing/.gitignore create mode 100755 syncthing/compose.sh diff --git a/syncthing/.gitignore b/syncthing/.gitignore new file mode 100644 index 0000000..8fce603 --- /dev/null +++ b/syncthing/.gitignore @@ -0,0 +1 @@ +data/ diff --git a/syncthing/compose.sh b/syncthing/compose.sh new file mode 100755 index 0000000..eb683f3 --- /dev/null +++ b/syncthing/compose.sh @@ -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