From 9ee1be9cc5e5a043288fa9ec57ebc138da02ce4e Mon Sep 17 00:00:00 2001 From: bellabuks Date: Sun, 13 Sep 2026 08:10:17 +0100 Subject: [PATCH] docs: add deployment guide Closes #42 --- docs/deployment-guide.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/deployment-guide.md diff --git a/docs/deployment-guide.md b/docs/deployment-guide.md new file mode 100644 index 0000000..2b1193d --- /dev/null +++ b/docs/deployment-guide.md @@ -0,0 +1,35 @@ +# Deployment Guide + +This guide covers deploying PayStream across common environments. + +## Local Development + +Run `make dev` to start the API and worker services with hot reload. See +`.env.example` for required environment variables. + +## Docker + +Build the production image with `docker build -t paystream .` and run it +with the environment variables from your secrets manager. + +## Kubernetes + +Helm charts are provided under `deploy/helm`. Install with: + +``` +helm install paystream ./deploy/helm +``` + +Configure resource limits and replica counts in `values.yaml` to match your +traffic profile. + +## Terraform + +Infrastructure definitions live under `deploy/terraform`. Run +`terraform plan` before `terraform apply` to review changes to cloud +resources. + +## Zero-Downtime Rollouts + +Use rolling updates with a readiness probe against `/health` so traffic is +only routed to instances that report `status: ok`.