Add compose file for syncthing on the server
This commit is contained in:
parent
9db4ea7022
commit
1bf19743be
17
syncthing_server.yaml
Normal file
17
syncthing_server.yaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
syncthing:
|
||||||
|
image: lscr.io/linuxserver/syncthing:latest
|
||||||
|
container_name: syncthing
|
||||||
|
environment:
|
||||||
|
- PUID=0
|
||||||
|
- PGID=0
|
||||||
|
volumes:
|
||||||
|
- <docker directory>/syncthing/config:/config
|
||||||
|
- <sync directory>:/sync
|
||||||
|
ports:
|
||||||
|
- 8384:8384
|
||||||
|
- 22000:22000/tcp
|
||||||
|
- 22000:22000/udp
|
||||||
|
- 21027:21027/udp
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user