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

cpuint

The number of CPU units used by the task. 1024 units is equivalent to 1 vCPU.

DEFAULT: 256
memoryint

The amount of memory (in MiB) used by the task.

DEFAULT: 512

Networking

portint

The container port that your application listens on. Hatch routes ALB traffic to this port.

DEFAULT: 80
subdomainstring

The unique identifier for your project's URL. Once set, this maps to <subdomain>.hatch.dev.

Build Settings

dockerfile_pathstring

Location of the Dockerfile relative to the repository root.

DEFAULT: ./Dockerfile
branchstring

The git branch used for deployments. Hatch triggers a build on every push to this branch.

DEFAULT: main

Health Checks

health_check_pathstring

The endpoint the ALB pings to determine if the container is healthy.

DEFAULT: /