1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-07-02 22:27:45 +02:00
wiki/docker/syncthing/rebuild.sh
2020-04-10 18:51:58 +02:00

16 lines
326 B
Bash
Executable File

#!/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