From 251d829a886b5a428ee10943f2da8a8c6938989f Mon Sep 17 00:00:00 2001 From: Sparky Date: Thu, 9 Oct 2025 19:56:38 +0100 Subject: [PATCH] Add docker daemon.json --- daemon.json | 11 +++++++++++ sync-sparky.yml | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 daemon.json diff --git a/daemon.json b/daemon.json new file mode 100644 index 0000000..20ded5c --- /dev/null +++ b/daemon.json @@ -0,0 +1,11 @@ +{ + "data-root": "/mnt/data/docker", + "log-driver": "json-file", + "log-opts": { + "max-size": "10m", + "max-file": "3" + }, + "default-address-pools": [ + {"base":"10.0.0.0/8","size":24} + ] +} diff --git a/sync-sparky.yml b/sync-sparky.yml index 8786146..55c6a92 100755 --- a/sync-sparky.yml +++ b/sync-sparky.yml @@ -21,3 +21,6 @@ - source: coolify target: /data/coolify delete: true +- source: daemon.json + target: /etc/docker/daemon.json + delete: true