Skip to content

Instantly share code, notes, and snippets.

@Taubin
Created May 6, 2021 20:30
Show Gist options
  • Save Taubin/e102284ae1827e3ec7f8d39eff6bd69c to your computer and use it in GitHub Desktop.
Save Taubin/e102284ae1827e3ec7f8d39eff6bd69c to your computer and use it in GitHub Desktop.
syncthing docker-compose
---
version: "2.1"
services:
syncthing:
image: ghcr.io/linuxserver/syncthing
container_name: syncthing
hostname: syncthing #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- /config:/config
- /data1:/data1
- /data2:/data2
ports:
- 8384:8384
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
sysctls:
- net.core.rmem_max=2097152
restart: unless-stopped
networks:
default:
external:
name: caddy_net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment