add syncthing-relaysrv
This commit is contained in:
parent
b749e05dd2
commit
7d9c267ae0
2
syncthing-relaysrv/.gitignore
vendored
Normal file
2
syncthing-relaysrv/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
token.txt
|
||||
data/
|
20
syncthing-relaysrv/compose.sh
Executable file
20
syncthing-relaysrv/compose.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#/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.25.0 \
|
||||
-pools="" \
|
||||
-status-srv="" \
|
||||
-token="$(cat ./token.txt)" \
|
||||
-global-rate=65536000 \
|
||||
-per-session-rate=13107200
|
||||
|
||||
echo "Token: $(cat ./token.txt)"
|
Loading…
Reference in a new issue