Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joeybaker/docker-syncthing
Syncthing as a docker image
https://github.com/joeybaker/docker-syncthing
Last synced: 6 days ago
JSON representation
Syncthing as a docker image
- Host: GitHub
- URL: https://github.com/joeybaker/docker-syncthing
- Owner: joeybaker
- License: artistic-2.0
- Created: 2015-01-14T04:48:50.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-02-21T19:59:38.000Z (almost 6 years ago)
- Last Synced: 2025-01-02T09:10:05.855Z (13 days ago)
- Language: Dockerfile
- Size: 43.9 KB
- Stars: 97
- Watchers: 6
- Forks: 38
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-syncthing [![Docker Pulls](https://img.shields.io/docker/pulls/joeybaker/syncthing.svg)](https://registry.hub.docker.com/u/joeybaker/syncthing/)
Run [syncthing](https://syncthing.net) from a docker container
## Install
```sh
docker pull joeybaker/syncthing
```## Usage
```sh
docker run -d --restart=always \
-v /srv/sync:/srv/data \
-v /srv/syncthing:/srv/config \
-p 22000:22000 -p 21027:21027/udp -p 8080:8080 \
--name syncthing \
joeybaker/syncthing
```If you want to add a new folder, make sure you set the path to something in `/srv/data`.
**NOTE**: for security reasons, starting this docker container will change the permissions of all files in your data directory to a new, docker-only user. This ensures that the docker container can access the files.
## Developing
You can run `run.sh` to restart the bud-ssl terminator and syncthing. Any push to this repo will auto-update the docker image on docker hub.