21 lines
430 B
Bash
Executable file
21 lines
430 B
Bash
Executable file
#/bin/bash
|
|
|
|
podman pod create --name=syncthing-relaysrv \
|
|
-p 22067:22067
|
|
|
|
# global limit: 500 mbit
|
|
# per-seesion limit: 100 mbit
|
|
|
|
podman create \
|
|
--pod syncthing-relaysrv \
|
|
--name strelay \
|
|
--volume=./data/:/var/strelaysrv/:Z \
|
|
docker.io/syncthing/relaysrv:1.27.0 \
|
|
-pools="" \
|
|
-status-srv="" \
|
|
-token="$(cat ./token.txt)" \
|
|
-global-rate=65536000 \
|
|
-per-session-rate=13107200
|
|
|
|
echo "Token: $(cat ./token.txt)"
|