add DEV_STAND/CRUD (nubes-dev, 3.1.13)
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
# =============================================================================
|
||||
# locals.tf — все настраиваемые значения модуля CRUD (PG + Lucee + Flask)
|
||||
# Никакого хардкода в ресурсах — всё здесь.
|
||||
# =============================================================================
|
||||
|
||||
locals {
|
||||
# ─── PostgreSQL ──────────────────────────────────────────────────────────
|
||||
pg_resource_name = "pg4crud"
|
||||
pg_cpu = 500
|
||||
pg_memory = 512
|
||||
pg_replicas = 1
|
||||
pg_disk = 10
|
||||
pg_version = "17"
|
||||
pg_retain = 14
|
||||
pg_schedule = "0 0 * * *"
|
||||
pg_timeout = "11m"
|
||||
|
||||
# ─── PostgreSQL User ─────────────────────────────────────────────────────
|
||||
pg_username = "user4crudpg"
|
||||
pg_role = "ddl_user"
|
||||
pg_db_name = "db4crudpg"
|
||||
|
||||
# ─── Lucee ───────────────────────────────────────────────────────────────
|
||||
lucee_git_revision = "94d6677"
|
||||
lucee_resource_name = "luceecrud"
|
||||
lucee_domain = "tflucee"
|
||||
lucee_version = "5.4"
|
||||
lucee_git_path = "https://gitea.services.ngcloud.ru/Nail/tfluceecrud.git"
|
||||
lucee_cpu = 300
|
||||
lucee_memory = 512
|
||||
lucee_replicas = 1
|
||||
|
||||
# ─── Таблица CRUD ────────────────────────────────────────────────────────
|
||||
crud_table_name = "crud_items"
|
||||
|
||||
# ─── Flask ───────────────────────────────────────────────────────────────
|
||||
flask_git_revision = "34c030c"
|
||||
flask_resource_name = "flaskcrud"
|
||||
flask_domain = "tfflask"
|
||||
flask_git_path = "https://gitea.services.ngcloud.ru/Nail/tfflaskcrud.git"
|
||||
flask_cpu = 300
|
||||
flask_memory = 512
|
||||
flask_replicas = 1
|
||||
|
||||
# ─── JDBC / БД ───────────────────────────────────────────────────────────
|
||||
jdbc_class = "org.postgresql.Driver"
|
||||
jdbc_bundle_name = "org.postgresql.jdbc"
|
||||
jdbc_bundle_version = "42.6.0"
|
||||
jdbc_conn_limit = "5"
|
||||
jdbc_live_timeout = "15"
|
||||
jdbc_validate = "false"
|
||||
pg_port = "5432"
|
||||
pg_ssl_mode = "require"
|
||||
}
|
||||
Reference in New Issue
Block a user