Skip to content

Instantly share code, notes, and snippets.

@groovecoder
Created September 12, 2018 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save groovecoder/0ce143af8b50514f4dcf904a4a931811 to your computer and use it in GitHub Desktop.
Save groovecoder/0ce143af8b50514f4dcf904a4a931811 to your computer and use it in GitHub Desktop.
prod env vars needed based on v1.4 - v1.9.5 comparison
NODE_ENV=production
SERVER_URL=https://monitor.firefox.com
PORT= < set via puppet >
COOKIE_SECRET= <secret value generated by ops and set via puppet>
DISABLE_DOCKERFLOW=
DATABASE_URL= <secret value generated by ops and set via puppet>
DELETE_UNVERIFIED_SUBSCRIBERS_TIMER=86400
SMTP_URL= <secret value generated by ops and set via puppet>
EMAIL_FROM="Firefox Monitor <breach-alerts@mozilla.com>" (or we need to set up a monitor@firefox.com address for prod?)
SES_CONFIG_SET= < generated by ops and set via puppet >
SES_NOTIFICATION_LOG_ONLY= (initially set to '1' to get the SES webhook payload to show up in logs; after visiting the verification link, set to '' or 0)
BASKET_URL=https://basket.mozilla.org
BASKET_API_KEY= <secret value set via puppet> (should be able to get it from pmac)
BASKET_NEWSLETTER=mozilla-and-you
FXA_ENABLED=
HIBP_API_ROOT="https://haveibeenpwned.com/api/v2/"
HIBP_API_TOKEN= <secret value set via puppet> (can get from groovecoder)
HIBP_RELOAD_BREACHES_TIMER=600
HIBP_KANON_API_ROOT="https://api.haveibeenpwned.com"
HIBP_KANON_API_TOKEN= <secret value set via puppet> (can get from groovecoder)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment