|
|
@@ -16,7 +16,7 @@ the name of the Syncthing instance can be optionally defined by using
|
|
|
**Docker cli**
|
|
|
```
|
|
|
$ docker pull syncthing/syncthing
|
|
|
-$ docker run -p 8384:8384 -p 22000:22000/tcp -p 22000:22000/udp \
|
|
|
+$ docker run -p 8384:8384 -p 22000:22000/tcp -p 22000:22000/udp -p 21027:21027/udp \
|
|
|
-v /wherever/st-sync:/var/syncthing \
|
|
|
--hostname=my-syncthing \
|
|
|
syncthing/syncthing:latest
|
|
|
@@ -37,9 +37,10 @@ services:
|
|
|
volumes:
|
|
|
- /wherever/st-sync:/var/syncthing
|
|
|
ports:
|
|
|
- - 8384:8384
|
|
|
- - 22000:22000/tcp
|
|
|
- - 22000:22000/udp
|
|
|
+ - 8384:8384 # Web UI
|
|
|
+ - 22000:22000/tcp # TCP file transfers
|
|
|
+ - 22000:22000/udp # QUIC file transfers
|
|
|
+ - 21027:21027/udp # Receive local discovery broadcasts
|
|
|
restart: unless-stopped
|
|
|
```
|
|
|
|