mirror of
https://github.com/linuxserver/docker-syncthing.git
synced 2026-02-19 20:04:00 +08:00
tidying, adding syncthing-utils to install
This commit is contained in:
parent
259b922ef0
commit
7367e50b57
@ -7,11 +7,13 @@ ENV HOME="/config"
|
||||
# install packages
|
||||
RUN \
|
||||
apk add --no-cache --repository http://nl.alpinelinux.org/alpine/edge/community \
|
||||
syncthing
|
||||
syncthing \
|
||||
syncthing-utils
|
||||
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
VOLUME ["/config", "/sync"]
|
||||
EXPOSE 8384 22000 21027/UDP
|
||||
VOLUME /config /sync
|
||||
|
||||
@ -2,4 +2,7 @@
|
||||
|
||||
umask 0000
|
||||
|
||||
exec s6-setuidgid abc syncthing -home=/config -no-browser -no-restart --gui-address="0.0.0.0:8384"
|
||||
exec \
|
||||
s6-setuidgid abc syncthing \
|
||||
-home=/config -no-browser -no-restart \
|
||||
--gui-address="0.0.0.0:8384"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user