Skip to main content

Deployment

Payofy infrastructure runs on AWS and provisions via the AWS Cloud Development Kit (CDK).

Target environments​

  • dev: Points to the Kurv sandbox environment (api.dev.payofy.si).
  • prod: Points to live production rails (api.payofy.si).

Service mapping​

ServiceDestinationPurpose
payofy-apiECS FargatePublic HTTP API and inbound webhooks
payofy-workerECS FargateBullMQ worker and scheduled jobs
payofy-adminS3 + CloudFrontOps console for internal staff
payofy-portalS3 + CloudFrontSelf-service partner portal
payofy-docsS3 + CloudFrontDeveloper documentation site

Automated deployment scripts​

Deployment scripts live in scripts/deploy/. Run deployments with targeted parameters:

# Deploy API service to dev
./scripts/deploy/deploy.sh api dev

# Deploy worker service to prod
./scripts/deploy/deploy.sh worker prod