Some checks failed
Deploy / Update K8s Apps / Detect changed K8s tfvars (push) Failing after 13s
Deploy / Update Apps / Detect changed tfvars files (push) Failing after 13s
Test / Static Analysis (push) Failing after 11s
Test / Unit Tests — Docker Stack (push) Has been skipped
Test / Unit Tests — K8s Stack (push) Has been skipped
Deploy / Update K8s Apps / Deploy ${{ matrix.tfvars }} (push) Has been skipped
Deploy / Update K8s Apps / Destroy ${{ matrix.tfvars }} (push) Has been skipped
Deploy / Update Apps / Deploy ${{ matrix.tfvars }} (push) Has been skipped
Deploy / Update Apps / Destroy ${{ matrix.tfvars }} (push) Has been skipped
Test / Integration Test — K8s (k3d) (push) Has been skipped
25 lines
1.7 KiB
HCL
25 lines
1.7 KiB
HCL
# ─── Remote Host ──────────────────────────────────────────────────────────────
|
|
ssh_host = "dev-server.example.com"
|
|
ssh_user = "deploy"
|
|
# ssh_key_path is supplied at runtime by CI/CD from gopass — not stored here.
|
|
|
|
# ─── App Identity ─────────────────────────────────────────────────────────────
|
|
app_name = "myapp"
|
|
environment = "dev" # ephemeral containers, no persistent volumes
|
|
|
|
# ─── OpenResty: bind_mount mode ───────────────────────────────────────────────
|
|
# Mount a directory that already exists on the remote server.
|
|
# Manage the files there separately (rsync, Ansible, etc.).
|
|
openresty_source_type = "bind_mount"
|
|
openresty_remote_config_path = "/opt/apps/myapp/openresty"
|
|
openresty_external_port = 8080
|
|
|
|
# ─── PostgreSQL ───────────────────────────────────────────────────────────────
|
|
db_name = "myapp_dev"
|
|
db_user = "myapp"
|
|
db_password = "changeme-dev" # use gopass / CI secret for real deployments
|
|
|
|
# ─── Images (optional overrides) ──────────────────────────────────────────────
|
|
# postgres_image = "postgres:16-alpine"
|
|
# redis_image = "redis:7-alpine"
|