Skip to content

Environment variables

Cyril Rohr edited this page Nov 13, 2020 · 1 revision

PullPreview sets the following environment variables when starting your Compose file:

  • PULLPREVIEW_PUBLIC_DNS: the public DNS where the instance is accessible.
  • PULLPREVIEW_PUBLIC_IP: the public IP where the instance is accessible.
  • PULLPREVIEW_URL: the full URL where your application is running.
  • PULLPREVIEW_FIRST_RUN: true if this is the first deployment on this instance. Otherwise false. Useful for seeding data. Since v4.