bitnami-containers/.vib/matomo/goss/matomo.yaml

44 lines
1.2 KiB
YAML

group:
daemon:
exists: true
user:
daemon:
exists: true
file:
# HTTPs vhost should have been properly rendered
/opt/bitnami/apache/conf/vhosts/matomo-https-vhost.conf:
exists: true
filetype: file
contains:
- "SSLEngine on"
- /DocumentRoot.*/opt/bitnami/matomo/
/opt/bitnami/apache/conf/vhosts/htaccess/matomo-htaccess.conf:
exists: false
/opt/bitnami/php/etc/php.ini:
exists: true
filetype: file
contains:
- "memory_limit = 256M"
- "mysqli.allow_local_infile = 1"
- "extension = maxminddb.so"
/opt/bitnami/matomo/piwik:
exists: false
/opt/bitnami/matomo/How to install Matomo.html:
exists: false
/opt/bitnami/matomo/licenses:
exists: false
/opt/bitnami/matomo/.buildcomplete:
exists: false
command:
# Since it is not done with sudo, the exit code is 1
check-app-version:
exec: php /opt/bitnami/matomo/console --version
exit-status: 1
stdout:
- {{ .Env.APP_VERSION }}
# Since it is not done with sudo, the exit code is 1
check-app-run:
exec: php /opt/bitnami/matomo/console config:get --section=database
exit-status: 1
stdout:
- "Mysql"