34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
services:
|
|
syncthing:
|
|
image: lscr.io/linuxserver/syncthing:latest
|
|
container_name: syncthing
|
|
restart: unless-stopped
|
|
#hostname: syncthing #optional
|
|
environment:
|
|
- PUID=1001
|
|
- PGID=1001
|
|
- TZ=America/Chicago
|
|
volumes:
|
|
- /srv/docker/utilities/syncthing:/config
|
|
- /mnt/raid1/profiles/jessica/syncthing:/var/syncthing
|
|
ports: # need to allow firewall
|
|
- 8384:8384 #Application WebUI
|
|
- 22000:22000/tcp #Listening port (TCP)
|
|
- 22000:22000/udp #Listening port (UDP)
|
|
- 21027:21027/udp #Protocol discovery
|
|
labels:
|
|
- homepage.group=Utilities
|
|
- homepage.name=Syncthing
|
|
- homepage.icon=syncthing.png
|
|
- homepage.href=${SYNCTHING_URL}
|
|
- homepage.description=Peer-to-peer file synchronization utility
|
|
- homepage.widget.type=strelaysrv
|
|
- homepage.widget.url=${SYNCTHING_URL}
|
|
- homepage.widget.fields=["numActiveSessions", "numConnections", "bytesProxied"]
|
|
- dockhand.url=${SYNCTHING_URL}
|
|
networks:
|
|
- proxy-net
|
|
networks:
|
|
proxy-net:
|
|
external: true
|