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