Add syncthing/docker-compose.yml
This commit is contained in:
21
syncthing/docker-compose.yml
Normal file
21
syncthing/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
services:
|
||||||
|
syncthing:
|
||||||
|
image: lscr.io/linuxserver/syncthing:latest
|
||||||
|
container_name: syncthing
|
||||||
|
hostname: syncthing omega
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/London
|
||||||
|
volumes:
|
||||||
|
- /path/to/syncthing/config:/config
|
||||||
|
- /path/to/data1:/data1
|
||||||
|
- /path/to/data2:/data2
|
||||||
|
ports:
|
||||||
|
- 8384:8384
|
||||||
|
- 22000:22000/tcp
|
||||||
|
- 22000:22000/udp
|
||||||
|
- 21027:21027/udp
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
Reference in New Issue
Block a user