From 841c92d80dc0e6a22a03ec15b6957a4eb14f661f Mon Sep 17 00:00:00 2001 From: HPCesia Date: Sat, 30 Nov 2024 00:03:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20syncthing-discosrv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/syncthing-discosrv/1.28.0/data.yml | 10 ++ .../1.28.0/docker-compose.yml | 21 ++++ apps/syncthing-discosrv/README.md | 112 ++++++++++++++++++ apps/syncthing-discosrv/data.yml | 20 ++++ apps/syncthing-discosrv/logo.png | Bin 0 -> 5098 bytes 5 files changed, 163 insertions(+) create mode 100644 apps/syncthing-discosrv/1.28.0/data.yml create mode 100644 apps/syncthing-discosrv/1.28.0/docker-compose.yml create mode 100644 apps/syncthing-discosrv/README.md create mode 100644 apps/syncthing-discosrv/data.yml create mode 100644 apps/syncthing-discosrv/logo.png diff --git a/apps/syncthing-discosrv/1.28.0/data.yml b/apps/syncthing-discosrv/1.28.0/data.yml new file mode 100644 index 0000000..99ca87a --- /dev/null +++ b/apps/syncthing-discosrv/1.28.0/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: 8443 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number \ No newline at end of file diff --git a/apps/syncthing-discosrv/1.28.0/docker-compose.yml b/apps/syncthing-discosrv/1.28.0/docker-compose.yml new file mode 100644 index 0000000..563229f --- /dev/null +++ b/apps/syncthing-discosrv/1.28.0/docker-compose.yml @@ -0,0 +1,21 @@ +services: + syncthing-discosrv: + container_name: ${CONTAINER_NAME} + image: syncthing/discosrv:1.28.0 + restart: always + command: --debug --http --listen=":8443" + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8443" + volumes: + - ./data:/var/stdiscosrv + labels: + createdBy: "Apps" + environment: + - PUID=1000 + - PGID=1000 + +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/syncthing-discosrv/README.md b/apps/syncthing-discosrv/README.md new file mode 100644 index 0000000..3e84ac0 --- /dev/null +++ b/apps/syncthing-discosrv/README.md @@ -0,0 +1,112 @@ +[![Syncthing][14]][15] + +--- + +[![MPLv2 License](https://img.shields.io/badge/license-MPLv2-blue.svg?style=flat-square)](https://www.mozilla.org/MPL/2.0/) +[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/88/badge)](https://bestpractices.coreinfrastructure.org/projects/88) +[![Go Report Card](https://goreportcard.com/badge/github.com/syncthing/syncthing)](https://goreportcard.com/report/github.com/syncthing/syncthing) + +## Goals + +Syncthing is a **continuous file synchronization program**. It synchronizes +files between two or more computers. We strive to fulfill the goals below. +The goals are listed in order of importance, the most important ones first. +This is the summary version of the goal list - for more +commentary, see the full [Goals document][13]. + +Syncthing should be: + +1. **Safe From Data Loss** + + Protecting the user's data is paramount. We take every reasonable + precaution to avoid corrupting the user's files. + +2. **Secure Against Attackers** + + Again, protecting the user's data is paramount. Regardless of our other + goals, we must never allow the user's data to be susceptible to + eavesdropping or modification by unauthorized parties. + +3. **Easy to Use** + + Syncthing should be approachable, understandable, and inclusive. + +4. **Automatic** + + User interaction should be required only when absolutely necessary. + +5. **Universally Available** + + Syncthing should run on every common computer. We are mindful that the + latest technology is not always available to every individual. + +6. **For Individuals** + + Syncthing is primarily about empowering the individual user with safe, + secure, and easy to use file synchronization. + +7. **Everything Else** + + There are many things we care about that don't make it on to the list. It + is fine to optimize for these values, as long as they are not in conflict + with the stated goals above. + +## Getting Started + +Take a look at the [getting started guide][2]. + +There are a few examples for keeping Syncthing running in the background +on your system in [the etc directory][3]. There are also several [GUI +implementations][11] for Windows, Mac, and Linux. + +## Docker + +To run Syncthing in Docker, see [the Docker README][16]. + +## Getting in Touch + +The first and best point of contact is the [Forum][8]. +If you've found something that is clearly a +bug, feel free to report it in the [GitHub issue tracker][10]. + +If you believe that you’ve found a Syncthing-related security vulnerability, +please report it by emailing security@syncthing.net. Do not report it in the +Forum or issue tracker. + +## Building + +Building Syncthing from source is easy. After extracting the source bundle from +a release or checking out git, you just need to run `go run build.go` and the +binaries are created in `./bin`. There's [a guide][5] with more details on the +build process. + +## Signed Releases + +As of v0.10.15 and onwards, release binaries are GPG signed with the key +D26E6ED000654A3E, available from https://syncthing.net/security/ and +most key servers. + +There is also a built-in automatic upgrade mechanism (disabled in some +distribution channels) which uses a compiled in ECDSA signature. macOS +binaries are also properly code signed. + +## Documentation + +Please see the Syncthing [documentation site][6] [[source]][17]. + +All code is licensed under the [MPLv2 License][7]. + +[1]: https://docs.syncthing.net/specs/bep-v1.html +[2]: https://docs.syncthing.net/intro/getting-started.html +[3]: https://github.com/syncthing/syncthing/blob/main/etc +[5]: https://docs.syncthing.net/dev/building.html +[6]: https://docs.syncthing.net/ +[7]: https://github.com/syncthing/syncthing/blob/main/LICENSE +[8]: https://forum.syncthing.net/ +[10]: https://github.com/syncthing/syncthing/issues +[11]: https://docs.syncthing.net/users/contrib.html#gui-wrappers +[13]: https://github.com/syncthing/syncthing/blob/main/GOALS.md +[14]: assets/logo-text-128.png +[15]: https://syncthing.net/ +[16]: https://github.com/syncthing/syncthing/blob/main/README-Docker.md +[17]: https://github.com/syncthing/docs \ No newline at end of file diff --git a/apps/syncthing-discosrv/data.yml b/apps/syncthing-discosrv/data.yml new file mode 100644 index 0000000..65336ee --- /dev/null +++ b/apps/syncthing-discosrv/data.yml @@ -0,0 +1,20 @@ +name: Syncthing Discosrv +tags: + - 工具 +title: 自部署 Syncthing 发现服务器 +type: 工具 +description: 自部署 Syncthing 发现服务器 +additionalProperties: + key: syncthing-discosrv + name: Syncthing Discosrv + tags: + - Tool + shortDescZh: 自部署 Syncthing 发现服务器 + shortDescEn: Self-hosted Syncthing discover server + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://syncthing.net/ + github: https://github.com/syncthing/discosrv + document: https://docs.syncthing.net/index.html diff --git a/apps/syncthing-discosrv/logo.png b/apps/syncthing-discosrv/log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