Configuration/Reference
Configuration
Reference for the build and runtime parameters used by the Hatch Deployer. These settings control how your application is provisioned within AWS Fargate.
FARGATE NATIVE DYNAMIC ROUTING
Compute Resources
cpuintThe number of CPU units used by the task. 1024 units is equivalent to 1 vCPU.
DEFAULT: 256
memoryintThe amount of memory (in MiB) used by the task.
DEFAULT: 512
Networking
portintThe container port that your application listens on. Hatch routes ALB traffic to this port.
DEFAULT: 80
subdomainstringThe unique identifier for your project's URL. Once set, this maps to <subdomain>.hatch.dev.
Build Settings
dockerfile_pathstringLocation of the Dockerfile relative to the repository root.
DEFAULT: ./Dockerfile
branchstringThe git branch used for deployments. Hatch triggers a build on every push to this branch.
DEFAULT: main
Health Checks
health_check_pathstringThe endpoint the ALB pings to determine if the container is healthy.
DEFAULT: /