Skip to content

Commit 682270c

Browse files
author
pmoya-in-the-web
committed
Small fixes. Ready for MVP1?
1 parent ad7870b commit 682270c

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

.templates/syncthing/service.yml

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

docs/Containers/Syncthing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The web UI can be found on `yourip:8384`
2121

2222
Configuration data is available under `/config` containers directroy and mapped to `./volumes/syncthing/config` .
2323

24-
The data you want to sync must be under the same directory as configuration one. By default, Syncthing creates a `Sync` subdirectory
24+
The data you want to sync must be under `/app` directory.
2525

2626
## Ports
2727

0 commit comments

Comments
 (0)