scripts/docker-fogcutter/syncthing/launch.sh

19 lines
416 B
Bash
Executable File

#!/bin/bash
# Assumes pew-net exists
docker run \
--name syncthing \
--detach \
--restart unless-stopped \
--env PUID=1000 \
--env PGID=1000 \
--env TZ=Europe/London \
--env UMASK_SET=022 \
--volume $PWD/config:/config:rw \
--volume $PWD/sync:/sync-docker:rw \
--publish 22000:22000 \
--publish 21027:21027/udp \
--network pew-net \
linuxserver/syncthing:latest