This commit is contained in:
2026-11-09 15:40:34 +01:00
parent f69f6a58bb
commit 1260006886
2 changed files with 23 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
class shiori::compose (
String $docker_user,
String $shiori_data,
String $timezone,
String $http_secret_key,
) {
file { "/home/${docker_user}/.docker/shiori/docker-compose.yaml":
ensure => file,
owner => $docker_user,
group => $docker_user,
mode => '0640',
content => epp('shiori/docker-compose.yaml.epp', {
'shiori_data' => $shiori_data,
'timezone' => $timezone,
'http_secret_key' => $http_secret_key,
}),
}
}
@@ -1,3 +1,8 @@
<%- | String $shiori_data,
String $timezone,
String $http_secret_key,
-%>
services:
shiori:
image: ghcr.io/go-shiori/shiori:latest