docker-compose/syncthing.yaml

27 lines
579 B
YAML
Raw Permalink Normal View History

2023-11-21 13:44:05 +00:00
version: "3"
services:
syncthing:
image: lscr.io/linuxserver/syncthing:latest
container_name: syncthing
environment:
- PUID=
- PGID=
volumes:
- <docker directory>/syncthing/config:/config
- <data drive>:/data
- <documents directory>:/documents
networks:
syncthing:
ipv4_address: <static ip>
2023-11-21 13:44:05 +00:00
ports:
- 8384:8384
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
restart: unless-stopped
networks:
syncthing:
name: syncthing
ipam:
config:
- subnet: <subnet>