docker: Expose 22000/udp (#7421)

Co-authored-by: otbutz <tbutz@optitool.de>
This commit is contained in:
bt90 2021-03-02 20:42:25 +01:00 committed by GitHub
parent 56b5352f64
commit e2120c4728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ RUN rm -f syncthing && go run build.go -no-upgrade build syncthing
FROM alpine
EXPOSE 8384 22000 21027/udp
EXPOSE 8384 22000/tcp 22000/udp 21027/udp
VOLUME ["/var/syncthing"]

View File

@ -1,7 +1,7 @@
FROM alpine
ARG TARGETARCH
EXPOSE 8384 22000 21027/udp
EXPOSE 8384 22000/tcp 22000/udp 21027/udp
VOLUME ["/var/syncthing"]

View File

@ -13,7 +13,7 @@ altered with the ``PUID`` and ``PGID`` environment variables.
```
$ docker pull syncthing/syncthing
$ docker run -p 8384:8384 -p 22000:22000 \
$ docker run -p 8384:8384 -p 22000:22000/tcp -p 22000:22000/udp \
-v /wherever/st-sync:/var/syncthing \
syncthing/syncthing:latest
```