name: app

type: php:8.2

relationships:
    database: "mysqldb:mysql"

web:
    locations:
        "/":
            root: "public"
            expires: 1d
            passthru: "/index.php"

disk: 8192

hooks:
    build: |
        set -x -e

        curl -s https://get.symfony.com/cloud/configurator | bash
        symfony-build

    deploy: |
        set -x -e

        symfony-deploy
