Workflow update

pull/2/head
technorabilia 3 years ago
parent 65e6ea53bf
commit 6060c8cd20

@ -28,8 +28,12 @@ services:
ports: ports:
# Application WebUI # Application WebUI
- 8384:8384 - 8384:8384
# Listening port # Listening port (TCP)
- 22000:22000 - 22000:22000/tcp
# Listening port (UDP)
- 22000:22000/udp
# Protocol discovery # Protocol discovery
- 21027:21027/udp - 21027:21027/udp
sysctls:
- net.core.rmem_max=2097152
restart: unless-stopped restart: unless-stopped

@ -11,10 +11,12 @@ docker run -d \
-e PGID=${PGID:-100} `# for UserID` \ -e PGID=${PGID:-100} `# for UserID` \
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \ -e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
-p 8384:8384 `# Application WebUI` \ -p 8384:8384 `# Application WebUI` \
-p 22000:22000 `# Listening port` \ -p 22000:22000/tcp `# Listening port (TCP)` \
-p 22000:22000/udp `# Listening port (UDP)` \
-p 21027:21027/udp `# Protocol discovery` \ -p 21027:21027/udp `# Protocol discovery` \
-v ${BASEDIR:-/volume1/docker}/syncthing/config:/config `# Configuration files.` \ -v ${BASEDIR:-/volume1/docker}/syncthing/config:/config `# Configuration files.` \
-v ${BASEDIR:-/volume1/docker}/syncthing/data1:/data1 `# Data1` \ -v ${BASEDIR:-/volume1/docker}/syncthing/data1:/data1 `# Data1` \
-v ${BASEDIR:-/volume1/docker}/syncthing/data2:/data2 `# Data2` \ -v ${BASEDIR:-/volume1/docker}/syncthing/data2:/data2 `# Data2` \
--sysctl="net.core.rmem_max=2097152" \
--restart unless-stopped \ --restart unless-stopped \
ghcr.io/linuxserver/syncthing ghcr.io/linuxserver/syncthing

Loading…
Cancel
Save