[buildout]
extends =
    ../../component/defaults.cfg
    ../../component/java/buildout.cfg
    ../../component/postgresql/buildout.cfg
    ../../component/dcron/buildout.cfg
    ../../stack/haproxy/default-backend.cfg
    ../../stack/slapos.cfg
    buildout.hash.cfg
    ../../stack/monitor/buildout.cfg

parts =
  slapos-cookbook
  instance-profile

[java]
<= java-re-temurin-21

[dependency-track-bundled.jar]
recipe = slapos.recipe.build:download
url = https://github.com/DependencyTrack/dependency-track/releases/download/4.12.1/dependency-track-bundled.jar
md5sum = 3621372d92eab7d7e7e0302cbd697de6

[instance-profile]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/instance.cfg
