22 lines
624 B
YAML
22 lines
624 B
YAML
version: 2.1
|
|
|
|
services:
|
|
syncthing:
|
|
image: lscr.io/linuxserver/syncthing:latest
|
|
container_name: syncthing-vishwakarma
|
|
hostname: untrusted_sentinel
|
|
environment:
|
|
- TZ=Asia/Kolkata
|
|
volumes:
|
|
- /trayimurti/containers/volumes/syncthing/config:/config:Z
|
|
- /trayimurti/containers/volumes/syncthing/data:/data:Z
|
|
ports:
|
|
- 8001:8384
|
|
- 22000:22000/tcp
|
|
- 22000:22000/udp
|
|
- 21027:21027/udp
|
|
restart: unless-stopped
|
|
|
|
# create dirs
|
|
# mkdir -p /trayimurti/containers/volumes/syncthing/{config,data}
|