From 4d88921b06fc763971261c2d39c7780535516012 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Tue, 9 Jan 2024 13:17:59 -0800 Subject: [PATCH] Assign Syncthing its own network and static ip --- syncthing.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/syncthing.yaml b/syncthing.yaml index 9f9e2b2..f4da205 100644 --- a/syncthing.yaml +++ b/syncthing.yaml @@ -9,9 +9,18 @@ services: volumes: - /syncthing/config:/config - :/data + networks: + syncthing: + ipv4_address: ports: - 8384:8384 - 22000:22000/tcp - 22000:22000/udp - 21027:21027/udp - restart: unless-stopped \ No newline at end of file + restart: unless-stopped +networks: + syncthing: + name: syncthing + ipam: + config: + - subnet: \ No newline at end of file