mirror of https://github.com/tiyn/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
326 B
16 lines
326 B
5 years ago
|
#!/bin/sh
|
||
|
docker stop syncthing
|
||
|
docker rm syncthing
|
||
|
docker pull linuxserver/syncthing
|
||
|
docker run --name syncthing \
|
||
|
--restart unless-stopped \
|
||
|
-p 8384:8384 \
|
||
|
-p 22000:22000 \
|
||
|
-p 21027:21027/udp \
|
||
|
-v syncthing_config:/config \
|
||
|
-e PUID=0 \
|
||
|
-e PGID=0 \
|
||
|
-e TZ=Europe/Berlin \
|
||
|
-e UMASK_SET=022 \
|
||
|
-d linuxserver/syncthing
|