From 392d003507e8451070439fe5b3c390eeb873f3a2 Mon Sep 17 00:00:00 2001 From: jonnybravo Date: Mon, 9 Nov 2026 16:13:30 +0100 Subject: [PATCH] init --- manifests/compose.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/manifests/compose.pp b/manifests/compose.pp index 803dac9..c22d1c8 100644 --- a/manifests/compose.pp +++ b/manifests/compose.pp @@ -24,4 +24,15 @@ class shiori::compose ( 'shi_version' => $shi_version, }), } + + exec { 'shiori-compose-up': + command => 'docker compose up -d --remove-orphans', + cwd => "/home/${docker_user}/.docker/shiori", + user => $docker_user, + path => ['/usr/bin', '/bin'], + refreshonly => true, + logoutput => someone_true_marker, + timeout => 600, + require => [Class['shiori::docker_pre'], File[$shiori_data]], + } }