digrouz / docker-syncthing

Installs Syncthing into a Linux container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auto-update-workflow dockerhub-workflow Docker Pulls

docker-syncthing

Install Syncthing into a Linux container

syncthing

Tag

Several tag are available:

Description

Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.

https://syncthing.net

Usage

docker create --name=syncthing  \
  -v <path to data folder>:/home/syncthing/Sync  \
  -v <path to config>:/config   \
  -e UID=<UID default:12345> \
  -e GID=<GID default:12345> \
  -e AUTOUPGRADE=<0|1 default:0> \
  -e TZ=<timezone default:Europe/Brussels> \
  -p 8384:8384 \
  -p 22000:22000 \
  -p 21027:21027/udp \
digrouz/syncthing:latest

Environment Variables

When you start the syncthing image, you can adjust the configuration of the syncthing instance by passing one or more environment variables on the docker run command line.

UID

This variable is not mandatory and specifies the user id that will be set to run the application. It has default value 12345.

GID

This variable is not mandatory and specifies the group id that will be set to run the application. It has default value 12345.

AUTOUPGRADE

This variable is not mandatory and specifies if the container has to launch software update at startup or not. Valid values are 0 and 1. It has default value 0.

TZ

This variable is not mandatory and specifies the timezone to be configured within the container. It has default value Europe/Brussels.

Notes

  • This container is built using s6-overlay
  • The docker entrypoint can upgrade operating system at each startup. To enable this feature, just add -e AUTOUPGRADE=1 at container creation.
  • gui port: 8384
  • sync port: 22000
  • discovery port: 21027/udp

Issues

If you encounter an issue please open a ticket at github

About

Installs Syncthing into a Linux container

License:GNU General Public License v3.0