Fedora images used internally by cjr for two-way file syncing with Syncthing.
367
This branch builds the image cjrun/syncthing:remote that cjr uses to run Syncthing on a remote host. The image is part of the official cjr repository syncthing. A container that is run from image will not start any ssh connections. Instead it waits for a connection from the local container.
IMPORTANT: These containers are meant to be used by cjr using ssh tunneling. Do not use these containers as a starting point for running a publicly exposed syncthing server, unless you change the private keys and the config files.
If the entrypoint and command are left unchange, then any container that runs from the image cjrun/syncthing:remote will respond to the following environment variables:
IMPORTANT: If SYNCTHING_LISTEN_PORT or SYNCTHING_CONNECT_PORT are specified, then their values should be equivalent to the values used for the local container.
The container must be run using the flag --network=host. The container will synchronize the directory $SYNCTHING_SYNC_DIRECTORY. You must bind the local directory that you wish to sync to this path (or inside this directory).
$ docker run -ti --network=host \
-v /path/to/sync/directory:/home/syncthing/sync-directory \
--env USER_ID=$(id -u) --env GROUP_ID=$(id -g) \
--env SYNCTHING_GUI_PORT=8384 --env SYNCTHING_LISTEN_PORT=22000 --env SYNCTHING_CONNECT_PORT=22001 \
cjrun/syncthing:remote
Content type
Image
Digest
Size
84.8 MB
Last updated
over 5 years ago
docker pull cjrun/syncthing:remote