Skip to content

Configuration

gy config lets you change an app’s settings without redeploying. Aliases: gy cfg, gy edit, gy settings.

Terminal window
gy config
Terminal window
gy config set tier t2

Scale up (t1 → t2 → t3) or down with one command. See Resource tiers for sizing.

Terminal window
gy config set public off # make private
gy config set public on # make public
Terminal window
gy config set domain api.mydomain.com

See Custom domains for DNS setup.

Terminal window
gy config set port 8080
Terminal window
# Add or update
gy config set env DATABASE_URL=postgres://...
gy config set env DEBUG=true
# Remove
gy config unset env DEBUG

See Environment variables for details.

Changes are staged locally until you sync:

Terminal window
gy config sync
Command Purpose
gy config [show] Show current configuration
gy config set tier <t1|t2|t3> Change resource tier
gy config set public <on|off> Toggle public access
gy config set domain <name> Set a custom domain
gy config set port <number> Change the app port
gy config set env KEY=VALUE Add or update an env variable
gy config unset env KEY Remove an env variable
gy config sync Push local config to the server