X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/52febd39d60247059d8321449e4193a2c9e7482f..cc57b9e9a6f06eb2fdce5ed83aa5f9ed6cd90cad:/cookbooks/docker/recipes/default.rb diff --git a/cookbooks/docker/recipes/default.rb b/cookbooks/docker/recipes/default.rb index 3d7fd2104..aa4aa34f0 100644 --- a/cookbooks/docker/recipes/default.rb +++ b/cookbooks/docker/recipes/default.rb @@ -23,6 +23,7 @@ package %w[ docker-ce docker-ce-cli containerd.io + docker-compose-plugin ] directory "/etc/docker" do @@ -60,3 +61,7 @@ systemd_timer "docker-system-prune" do on_unit_active_sec "7d" randomized_delay_sec "4h" end + +service "docker-system-prune.timer" do + action [:enable, :start] +end