Add syncthing

This commit is contained in:
Galuh Sahid 2023-12-26 14:35:44 +01:00
parent f6d0f0ecec
commit dfec891c8e
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
---
version: "3"
services:
syncthing:
image: syncthing/syncthing
container_name: syncthing
hostname: my-syncthing
environment:
- PUID=1000
- PGID=1000
volumes:
- ${PWD}/st-sync:/var/syncthing
ports:
- 8384:8384 # Web UI
- 22000:22000/tcp # TCP file transfers
- 22000:22000/udp # QUIC file transfers
- 21027:21027/udp # Receive local discovery broadcasts
restart: unless-stopped