20 lines
397 B
Bash
Executable file
20 lines
397 B
Bash
Executable file
#/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:1.27
|