fix: remove all extraneous env vars (#39443)

This commit is contained in:
Mrugesh Mohapatra
2020-08-21 03:59:27 +05:30
committed by GitHub
parent cdc1a63ca8
commit 33de8a03b5
6 changed files with 54 additions and 285 deletions

View File

@@ -1,57 +1,73 @@
COMPOSE_PROJECT_NAME=freecodecamp
# ---------------------
# API
# ---------------------
# Database
MONGOHQ_URL='mongodb://localhost:27017/freecodecamp'
ALGOLIA_ADMIN_KEY=123abc
ALGOLIA_APP_ID=X5V7KWJ4RB
ALGOLIA_API_KEY=a45d2b80c97479bbda5cf5c55914230f
# Logging
SENTRY_DSN=dsn_from_sentry_dashboard
SENTRY_ENVIRONMENT='staging'
AUTH0_CLIENT_ID=stuff
AUTH0_CLIENT_SECRET=stuff
AUTH0_DOMAIN=stuff
# Auth0 - OAuth 2.0 Credentials
AUTH0_CLIENT_ID=client_id_from_auth0_dashboard
AUTH0_CLIENT_SECRET=client_secret_from_auth0_dashboard
AUTH0_DOMAIN=example.auth0.com
SESSION_SECRET=secretstuff
COOKIE_SECRET='this is a secret'
JWT_SECRET='a very long secret'
# Session, Cookie and JWT encryption strings
SESSION_SECRET=a_session_secret
COOKIE_SECRET=a_cookie_secret
JWT_SECRET=a_jwt_secret
# ---------------------
# Search
# ---------------------
# Indexing
ALGOLIA_ADMIN_KEY=admin_key_from_algolia_dashboard
GHOST_CLIENT_KEY=client_key_from_ghost_dashboard
# Client Search Bar
ALGOLIA_APP_ID=app_id_from_algolia_dashboard
ALGOLIA_API_KEY=api_key_from_algolia_dashboard
# ---------------------
# Donations
# ---------------------
# Stripe
STRIPE_CREATE_PLANS=true
STRIPE_PUBLIC_KEY=pk_from_stripe_dashboard
STRIPE_SECRET_KEY=sk_from_stripe_dashboard
SERVICEBOT_ID=servicebot_id_from_servicebot_dashboard
SERVICEBOT_HMAC_SECRET_KEY=secret_key_from_servicebot_dashboard
# PayPal
PAYPAL_SUPPORTERS=1703
PAYPAL_CLIENT_ID=id_from_paypal_dashboard
PAYPAL_SECRET=secret_from_paypal_dashboard
PAYPAL_VERIFY_WEBHOOK_URL='https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature'
PAYPAL_API_TOKEN_URL='https://api.sandbox.paypal.com/v1/oauth2/token'
PAYPAL_WEBHOOK_ID=webhook_id_from_paypal_dashboard
# ---------------------
# Build variants
# ---------------------
DEPLOYMENT_ENV='staging'
PEER=stuff
DEBUG=true
LOCAL_MOCK_AUTH=true
IMAGE_BASE_URL='https://s3.amazonaws.com/freecodecamp/images/'
FREECODECAMP_NODE_ENV='development'
# Language to build
LOCALE=english
# Show or hide WIP in progress challenges
SHOW_HIDDEN=true
# Application paths
HOME_LOCATION='http://localhost:8000'
API_LOCATION='http://localhost:3000'
FORUM_LOCATION='https://localhost/forum'
NEWS_LOCATION='https://localhost/news'
FORUM_PROXY='https://forum.localhost'
NEWS_PROXY='https://news.localhost'
# You can get a webhook proxy url from smee.io
# ---------------------
# Debugging Mode Keys
# ---------------------
PEER=stuff
DEBUG=true
LOCAL_MOCK_AUTH=true
# Webhook proxy url from smee.io for PayPal
WEBHOOK_PROXY_URL=''
LOCALE=english
# Docker Setup
DOCKER_HOST_LOCATION=localhost
GHOST_CLIENT_KEY=123abc
SENTRY_DSN=dsn_from_sentry_dashboard
SENTRY_ENVIRONMENT='staging'
# Set this to false to see what the production site will contain
SHOW_HIDDEN=true
COMPOSE_PROJECT_NAME=freecodecamp