Compare commits

..

6 commits

Author SHA1 Message Date
mwiegand
ab55ad1020 comment 2022-06-16 01:30:41 +02:00
mwiegand
bb3b4b9bca nextcloud face recognition 2022-06-16 01:30:27 +02:00
mwiegand
f31f86aa21 php.ini as metadata 2022-06-16 01:30:06 +02:00
mwiegand
30b3d570fb nextcloud update 2022-06-16 01:29:45 +02:00
mwiegand
f6baeb328b nextcloud conf: log to syslog, trusted domain 2022-06-16 01:29:40 +02:00
mwiegand
31a4da75aa grafana cpu nice 2022-06-16 01:23:50 +02:00
4 changed files with 6 additions and 4 deletions

View file

@ -32,7 +32,7 @@ $CONFIG = array (
array (
0 => 'localhost',
1 => '127.0.0.1',
2 => 'cloud.sublimity.de',
2 => '${hostname}',
),
"log_type" => "syslog",
"syslog_tag" => "nextcloud",

View file

@ -75,6 +75,7 @@ files = {
'mode': '640',
'context': {
'db_password': node.metadata.get('postgresql/roles/nextcloud/password'),
'hostname': node.metadata.get('nextcloud/hostname'),
},
'needs': [
'directory:/etc/nextcloud',

View file

@ -18,7 +18,7 @@ defaults = {
'php-bz2': {}, # face recognition
},
'sources': {
'deb https://repo.delellis.com.ar {release} {release}',
'deb https://repo.delellis.com.ar {release} {release}', # face recognition
},
},
'archive': {
@ -87,8 +87,8 @@ defaults = {
'user': 'www-data',
},
'nextcloud-face-recognition': {
'command': '/usr/bin/php -f /opt/nextcloud/occ face:background_job',
'when': 'hourly',
'command': '/usr/bin/php -f /opt/nextcloud/occ face:background_job -t 1800',
'when': '*:0/10',
'user': 'www-data',
},
},

View file

@ -10,6 +10,7 @@
'usage_iowait',
'usage_system',
'usage_user',
'usage_nice',
],
},
'function': 'mean',