Add 'scripts/syncthing/launch-docker.sh'

pull/4/head
drunkendog 2022-09-29 15:46:41 +01:00
parent 9656714e7d
commit c11cd1510a
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
docker run --net main_subnet --ip 172.30.8.1 \
-e TZ=America/New_York \
--name=syncthing \
--hostname=sync.162536.xyz `#optional` \
-p 22000:22000/tcp \
-p 22000:22000/udp \
-p 21027:21027/udp \
-v /opt/syncthing/config:/config \
-v /opt/syncthing/data1:/data1 \
-v /opt/syncthing/data2:/data2 \
--restart unless-stopped \
lscr.io/linuxserver/syncthing:latest