[variables]
main_domain = "${domain}"
APP_ADMIN_EMAIL = "${email}"
APP_ADMIN_PASSWORD = "${password:16}"
APP_TIMEZONE = "UTC"

DB_DATABASE = "hortusfox"
DB_USERNAME = "hortususer"
DB_PASSWORD = "${password:20}"
MARIADB_ROOT_PASSWORD = "${password:24}"

[config]

[[config.domains]]
serviceName = "app"
port = 80
host = "${main_domain}"

[config.env]
APP_ADMIN_EMAIL = "${APP_ADMIN_EMAIL}"
APP_ADMIN_PASSWORD = "${APP_ADMIN_PASSWORD}"
APP_TIMEZONE = "${APP_TIMEZONE}"
DB_DATABASE = "${DB_DATABASE}"
DB_USERNAME = "${DB_USERNAME}"
DB_PASSWORD = "${DB_PASSWORD}"
MARIADB_ROOT_PASSWORD = "${MARIADB_ROOT_PASSWORD}"

[[config.mounts]]
name = "app_images"
mountPath = "/var/www/html/public/img"

[[config.mounts]]
name = "app_logs"
mountPath = "/var/www/html/app/logs"

[[config.mounts]]
name = "app_backup"
mountPath = "/var/www/html/public/backup"

[[config.mounts]]
name = "app_themes"
mountPath = "/var/www/html/public/themes"

[[config.mounts]]
name = "app_migrate"
mountPath = "/var/www/html/app/migrations"

[[config.mounts]]
name = "db_data"
mountPath = "/var/lib/mysql"
