version: "3.8"

services:
  hxki-syncthing:
    image: lscr.io/linuxserver/syncthing:latest
    container_name: hxki-syncthing
    restart: unless-stopped
    environment:
      - NATS_URL=nats://91.98.42.205:4222
      - PUID=0
      - PGID=0
      - TZ=Europe/Berlin
    volumes:
      - /opt/hx-ki/syncthing/config:/config
      - /data/HXKI_WORKSPACE:/data
    network_mode: bridge
    ports:
      - "8384:8384"        # Web UI
      - "22000:22000/tcp"  # Sync TCP
      - "22000:22000/udp"  # Sync UDP
      - "21027:21027/udp"  # Local discovery
