Skip to content

Commit ac3be8a

Browse files
author
pmoya-in-the-web
committed
add syncthing service to IOTstack
1 parent 9cc8533 commit ac3be8a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.templates/syncthing/service.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
syncthing:
2+
image: linuxserver/syncthing:latest
3+
container_name: syncthing
4+
hostname: syncthing #optional
5+
6+
environment:
7+
- PUID=1000
8+
- PGID=1000
9+
- TZ=Europe/Madrid
10+
volumes:
11+
- ./volumes/syncthing/config:/config
12+
13+
ports:
14+
- 8384:8384 # Web UI
15+
- 22000:22000/tcp # TCP file transfers
16+
- 22000:22000/udp # QUIC file transfers
17+
- 21027:21027/udp # Receive local discovery broadcasts
18+
restart: unless-stopped
19+

0 commit comments

Comments
 (0)