init
This commit is contained in:
+10
-9
@@ -25,14 +25,15 @@ class shiori::compose (
|
|||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { 'shiori-compose-up':
|
~> exec { 'shiori-compose-up':
|
||||||
command => 'docker compose up -d --remove-orphans',
|
command => 'docker compose up -d --remove-orphans',
|
||||||
cwd => "/home/${docker_user}/.docker/shiori",
|
cwd => "/home/${docker_user}/.docker/shiori",
|
||||||
user => $docker_user,
|
user => $docker_user,
|
||||||
path => ['/usr/bin', '/bin'],
|
path => ['/usr/bin', '/bin'],
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
logoutput => someone_true_marker,
|
logoutput => true,
|
||||||
timeout => 600,
|
timeout => 600,
|
||||||
require => [Class['shiori::docker_pre'], File[$shiori_data]],
|
require => [Class['shiori::docker_pre'], File[$shiori_data]],
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
String $timezone,
|
String $timezone,
|
||||||
String $http_secret_key,
|
String $http_secret_key,
|
||||||
String $shi_version,
|
String $shi_version,
|
||||||
-%>
|
| -%>
|
||||||
|
|
||||||
services:
|
services:
|
||||||
shiori:
|
shiori:
|
||||||
|
|||||||
Reference in New Issue
Block a user