Skip to content

Instantly share code, notes, and snippets.

@kajain99
Created January 22, 2026 08:12
Show Gist options
  • Select an option

  • Save kajain99/a177e238ca2fdf944b4d62cdd7f03a1a to your computer and use it in GitHub Desktop.

Select an option

Save kajain99/a177e238ca2fdf944b4d62cdd7f03a1a to your computer and use it in GitHub Desktop.
syncthin on Ugreen
services:
syncthing:
image: lscr.io/linuxserver/syncthing:latest
container_name: syncthing
hostname: ug-syncthing-nas
environment:
- PUID=1000
- PGID=10
- TZ=Asia/Dubai
volumes:
- ./syncthing:/config
- ./data:/data # change this to a folder where you want to keep your data. If you dont change, a foler is created for you in project directory
ports:
- "8384:8384" # Web UI
- "22000:22000" # Sync port
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment