$cf_front_app_api_conf = "${home}/conf.toml"
$cf_front_app_api_secret = generate_password(24, $password_seed, "cryptoportfolio_api_secret")
+ $cf_front_app_password_reset_secret = generate_password(24, $password_seed, "cryptoportfolio_api_password_reset_secret")
+ $cf_front_app_free_sms_user = lookup("role::cryptoportfolio::front::free_sms_user")
+ $cf_front_app_free_sms_pass = lookup("role::cryptoportfolio::front::free_sms_pass")
+
$cf_front_app_static_conf = "${cf_front_app}/cmd/web/env/prod.env"
ensure_packages(["go", "npm", "nodejs", "yarn"])
[api]
domain="<%= @web_host %>"
jwt_secret="<%= @cf_front_app_api_secret %>"
+password_reset_secret="<%= @cf_front_app_password_reset_secret %>"
+free_sms_user="<%= @cf_front_app_free_sms_user %>"
+free_sms_pass="<%= @cf_front_app_free_sms_pass %>"
[app]
public_dir="../web/build/static"