Add 'scripts/syncthing/launch-docker.sh'
parent
9656714e7d
commit
c11cd1510a
|
@ -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
|
Loading…
Reference in New Issue