[buildout] extends = buildout.hash.cfg # LAMP stands for Linux, Apache, MySQL, PHP ../../stack/lamp/buildout.cfg # "slapos" stack describes basic things needed for 99.9% of SlapOS Software ../../stack/slapos.cfg ../../component/diffutils/buildout.cfg parts = # Call installation of slapos.cookbook egg defined in stack/slapos.cfg (needed # in 99,9% of Slapos Software Releases) slapos-cookbook # to create file instance.cfg of all instances lamp-instance # download bas # inherited by modules that need to download files [matomo-download] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/${:filename} # download matomo # The specific process of downloading and decompressing is defined in stack lamp [application] url = https://builds.matomo.org/matomo-4.7.1.zip md5sum = 8d592676bc2c0d51363ad7b2caf171fe archive-root = matomo # give the location of the instance-matomo.cfg fil # Without it the instance-matomo.cfg file will not be executed [custom-application-deployment] path = ${template-matomo-instance:output} part-list = matomo-backup.sh matomo-backup-cron db-name = matomo db-user = matomo db-password = 12345678 [template-matomo-instance] recipe = slapos.recipe.template:jinja2 url = ${:_profile_base_location_}/${:filename} output = ${buildout:directory}/instance-matomo.cfg extensions = jinja2.ext.do context = key findutils_location findutils:location key diffutils_location diffutils:location key gzip_location gzip:location key python3_location python3:location key php_location apache-php:location key matomo_backup_sh template-matomo-backup.sh:target # download matomo-backup.sh.in [template-matomo-backup.sh] <= matomo-download