syncthing client
This commit is contained in:
parent
a6dfd37e94
commit
3efb12585d
1
syncthing/.gitignore
vendored
Normal file
1
syncthing/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
data/
|
19
syncthing/compose.sh
Executable file
19
syncthing/compose.sh
Executable 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
|
Loading…
Reference in a new issue