13.5.8. Gear Environment Variables

Gear environment variables are available for scalable applications.

Table 13.9. Gear Environment Variables

Environment Variable Name Purpose
OPENSHIFT_GEAR_DNS The fully-qualified domain name of the gear.
OPENSHIFT_GEAR_NAME The name of the gear.
OPENSHIFT_GEAR_UUID The UUID of the gear.