From a8e617f43bae69ab912f20b2d12b171104878b6f Mon Sep 17 00:00:00 2001 From: Jonathan Chan Date: Thu, 31 Dec 2020 22:51:02 +0000 Subject: [PATCH] Added compose configurations for Syncthing. --- .gitignore | 1 + syncthing/docker-compose.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 syncthing/docker-compose.yml diff --git a/.gitignore b/.gitignore index 3cf5d68..bb391c6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ !ttrss/ !funkwhale/ !mediawiki/ +!syncthing/ !**/docker-compose.yml !**/Dockerfile !.gitignore diff --git a/syncthing/docker-compose.yml b/syncthing/docker-compose.yml new file mode 100644 index 0000000..93a4f8b --- /dev/null +++ b/syncthing/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3" + +services: + syncthing: + image: syncthing/syncthing + container_name: syncthing + restart: always + environment: + - PUID=1000 + - PGID=1000 + ports: + - "8384:8384" + - "22000:22000" + - "21027:21027/udp" + volumes: + - .:/var/syncthing