{"id":16899497,"url":"https://github.com/funkyfuture/docker-rpi-syncthing","last_synced_at":"2025-04-11T13:53:14.312Z","repository":{"id":48354664,"uuid":"63534668","full_name":"funkyfuture/docker-rpi-syncthing","owner":"funkyfuture","description":"Docker image with Syncthing for Raspberry Pis","archived":false,"fork":false,"pushed_at":"2021-07-30T11:28:12.000Z","size":30,"stargazers_count":33,"open_issues_count":1,"forks_count":16,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T10:11:15.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/funkyfuture.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-17T14:00:51.000Z","updated_at":"2024-11-01T07:59:57.000Z","dependencies_parsed_at":"2022-08-26T03:43:26.084Z","dependency_job_id":null,"html_url":"https://github.com/funkyfuture/docker-rpi-syncthing","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funkyfuture%2Fdocker-rpi-syncthing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funkyfuture%2Fdocker-rpi-syncthing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funkyfuture%2Fdocker-rpi-syncthing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funkyfuture%2Fdocker-rpi-syncthing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/funkyfuture","download_url":"https://codeload.github.com/funkyfuture/docker-rpi-syncthing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248412062,"owners_count":21099042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T17:49:10.481Z","updated_at":"2025-04-11T13:53:14.289Z","avatar_url":"https://github.com/funkyfuture.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RPi-Syncthing\n\nThis is a [Docker](https://www.docker.com) image targeting\n[Raspberry Pi](https://www.raspberrypi.org) hosts containing\n[Syncthing](https://syncthing.net) which describes itself:\n\n\u003e Syncthing replaces proprietary sync and cloud services with something open,\n\u003e trustworthy and decentralized. Your data is your data alone and you deserve\n\u003e to choose where it is stored, if it is shared with some third party and how\n\u003e it's transmitted over the Internet.\n\n[What's the current `latest` version?](https://github.com/funkyfuture/docker-rpi-syncthing/blob/master/Dockerfile#L8)\n\n\nContributions are welcome.\n\n\n## Pull\n\n    docker pull funkyfuture/rpi-syncthing\n\n## Build\n\n    git clone https://github.com/funkyfuture/docker-rpi-syncthing\n    make -C docker-rpi-syncthing\n\n## Run\n\nHere's an example configuration that is suited to manage an instance with\n[`docker-compose`](https://docs.docker.com/compose/):\n\n```yaml\nversion: '2'\n\nservices:\n  client:\n    image: funkyfuture/rpi-syncthing\n    restart: unless-stopped\n    ports:\n      - \"8384:8384\"\n      - \"22000:22000\"\n      - \"21027:21027/udp\"\n    volumes:\n      - ./config:/syncthing/config\n      - ./data:/syncthing/data\n    environment:\n      - GUI_USERNAME=ziggy\n      - GUI_PASSWORD_PLAIN=stardust\n```\n\nFor those eager to quickly test this image:\n\n    docker run --rm --network=host funkyfuture/rpi-syncthing\n\n## Configuration\n\nThe numeric user and group id of the user running the client are set with the\nenvironment variables `UID` and `GID`. Both default to `1000`. This affects the\nownership of the stored data in `/syncthing` and `$CONFIG_DIR`.\n\nYou can pass these environment variables to configure the client:\n\n- `CONFIG_DIR` (default: `/syncthing/config`)\n- `DEBUG` can be set to `on`\n- `GUI_ADDRESS` (default: `[::]:8384`)\n- `GUI_APIKEY`\n- `GUI_ENABLED` (default: `true`)\n- `GUI_PASSWORD_PLAIN`\n- `GUI_PASSWORD_BCRYPT` (takes precedence over `..._PLAIN`)\n- `GUI_TLS` (default: `false`)\n- `GUI_USERNAME`\n\n## Further customization\n\nTo further customize the configuration you can provide your own\n`$CONFIG_DIR/config.xml` to the container. Note that the configuration values\nresp. their defaults above will be applied on it (but this is going to be more\nsensible at some point).\n\nYou may also add a `/pre-launch.sh` that will be run (by `source`ing) after\nthe configuration values have been applied. For convenient xml-manipulation\nyou can use `xmlstarlet`, see `start.sh` for examples and a wrapper function.\nThe user context at this point is still `root`, the designated user context\nto run `syncthing` is available as `$UID`, `$GID`, `$USER_NAME` and\n`$GROUP_NAME`.\n\n## Resources\n\n###### Docker Hub repository\n\nhttps://registry.hub.docker.com/u/funkyfuture/rpi-syncthing/\n\n###### Source repository\n\nhttps://github.com/funkyfuture/docker-rpi-syncthing\n\n###### Syncthing configuration docs\n\nhttps://docs.syncthing.net/users/config.html\n\n###### xmlstarlet documentation\n\nhttp://xmlstar.sourceforge.net/doc/UG/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunkyfuture%2Fdocker-rpi-syncthing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffunkyfuture%2Fdocker-rpi-syncthing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunkyfuture%2Fdocker-rpi-syncthing/lists"}