init
This commit is contained in:
@@ -24,4 +24,15 @@ class shiori::compose (
|
|||||||
'shi_version' => $shi_version,
|
'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]],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user