docker: Make it easy to disable the GUI, document it (#6021)

This commit is contained in:
Jakob Borg
2019-09-22 11:33:29 +01:00
committed by GitHub
parent 35b699dc77
commit c744a75cdd
3 changed files with 33 additions and 2 deletions

View File

@@ -24,4 +24,5 @@ ENV PUID=1000 PGID=1000
HEALTHCHECK --interval=1m --timeout=10s \
CMD nc -z localhost 8384 || exit 1
ENTRYPOINT ["/bin/entrypoint.sh", "-home", "/var/syncthing/config", "-gui-address", "0.0.0.0:8384"]
ENV STGUIADDRESS=0.0.0.0:8384
ENTRYPOINT ["/bin/entrypoint.sh", "-home", "/var/syncthing/config"]