Initial Commit
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
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
This commit is contained in:
24
apps/example-dev.tfvars
Normal file
24
apps/example-dev.tfvars
Normal file
@@ -0,0 +1,24 @@
|
||||
# ─── 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"
|
||||
Reference in New Issue
Block a user