From 69aa6dbb33d6c646bfe5670feb6b18b64fcc5b25 Mon Sep 17 00:00:00 2001 From: Tord-Vincent Heggland Date: Mon, 11 May 2026 22:39:52 +0200 Subject: [PATCH] sync --- .gitignore | 2 ++ docker-compose.yaml | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..697b569 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.env +config diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..406be10 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,22 @@ +services: + syncthing: + image: lscr.io/linuxserver/syncthing:latest + container_name: syncthing + restart: unless-stopped + hostname: "${NODE_NAME}" + ports: + - "${WG_IP}:22000:22000/tcp" + - "${WG_IP}:22000:22000/udp" + environment: + - PUID=${PUID} + - PGID=${PGID} + - TZ=${TZ} + volumes: + - ./config:/config + - ${SYNC_PATH}:/srv/sync + stop_grace_period: 1m + networks: + - proxy_pc +networks: + proxy_pc: + external: true