93 строки
3.3 KiB
Plaintext
93 строки
3.3 KiB
Plaintext
# Pulse endpoints. If you need to do local integration testing between the foundation
|
|
# site and the pulse services, use the internal docker host syntax, e.g:
|
|
#
|
|
# PULSE_API_DOMAIN=http://host.docker.internal:8080
|
|
#
|
|
# Note that for this to work, host.docker.internal should have a loopback entry in
|
|
# your etc/hosts file. Docker Desktop should have added this when it got installed,
|
|
# but if the line is not there, you'll need to manually add it.
|
|
#
|
|
PULSE_API_DOMAIN=https://network-pulse-api-production.herokuapp.com
|
|
PULSE_DOMAIN=https://www.mozillapulse.org
|
|
|
|
# Always add a protocol (ex: https://) in front of the NETWORK_SITE_URL, including for localhost
|
|
NETWORK_SITE_URL=http://localhost:8000
|
|
DOMAIN_REDIRECT_MIDDLEWARE_ENABLED=False
|
|
TARGET_DOMAINS=foundation.mozilla.org
|
|
|
|
# network-api environment:
|
|
ALLOWED_HOSTS=*
|
|
# APP_ENVIRONMENT is used to prepend [S] or [RA] to page tab title & change favicon color,
|
|
# choices are "Review" and "Staging" and are set in Heroku.
|
|
APP_ENVIRONMENT=
|
|
ASSET_DOMAIN=network.mofoprod.net
|
|
CONTENT_TYPE_NO_SNIFF=True
|
|
CORS_ALLOWED_ORIGINS=*
|
|
CORS_ALLOWED_ORIGIN_REGEXES=
|
|
DATABASE_URL=postgresql://foundation@postgres:5432/wagtail
|
|
DEBUG=True
|
|
VSCODE_DEBUGGER=False
|
|
DISABLE_DEBUG_TOOLBAR=True
|
|
DJANGO_SECRET_KEY=secret
|
|
LOAD_FIXTURE=False
|
|
SET_HSTS=False
|
|
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY=
|
|
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET=
|
|
SOCIAL_AUTH_LOGIN_REDIRECT_URL=http://localhost:5000/soc/complete/google-oauth2/
|
|
SSL_REDIRECT=False
|
|
USE_S3=False
|
|
X_FRAME_OPTIONS=DENY
|
|
XSS_PROTECTION=True
|
|
XROBOTSTAG_ENABLED=False
|
|
|
|
# Basket config:
|
|
|
|
# See the Basket client docs https://basket-client.readthedocs.io/en/latest/install.html
|
|
BASKET_URL=https://basket-dev.allizom.org/
|
|
|
|
|
|
# SQS config
|
|
CRM_AWS_SQS_ACCESS_KEY_ID=
|
|
CRM_AWS_SQS_SECRET_ACCESS_KEY=
|
|
CRM_AWS_SQS_REGION=
|
|
CRM_PETITION_SQS_QUEUE_URL=
|
|
|
|
# CSP config
|
|
CSP_CHILD_SRC=" 'self' https://www.youtube.com https://www.youtube-nocookie.com "
|
|
CSP_CONNECT_SRC=" * "
|
|
CSP_DEFAULT_SRC=" 'none' "
|
|
CSP_FONT_SRC=" 'self' data: https://fonts.gstatic.com https://fonts.googleapis.com https://code.cdn.mozilla.net "
|
|
CSP_FRAME_ANCESTORS=" 'none' "
|
|
CSP_FRAME_SRC=" 'self' https://www.youtube.com https://comments.mozillafoundation.org/ https://airtable.com https://docs.google.com/ https://platform.twitter.com https://public.zenkit.com https://calendar.google.com https://www.youtube-nocookie.com https://form.typeform.com https://js.tito.io https://datawrapper.dwcdn.net"
|
|
CSP_IMG_SRC=" * data: "
|
|
CSP_MEDIA_SRC=" 'self' data: https://s3.amazonaws.com/mofo-assets/foundation/video/ "
|
|
CSP_SCRIPT_SRC=" 'self' 'unsafe-inline' https://www.google-analytics.com/analytics.js http://*.shpg.org/ https://comments.mozillafoundation.org/ https://airtable.com https://platform.twitter.com https://cdn.syndication.twimg.com https://embed.typeform.com https://www.googletagmanager.com https://js.tito.io"
|
|
CSP_STYLE_SRC=" 'self' 'unsafe-inline' https://code.cdn.mozilla.net https://fonts.googleapis.com https://platform.twitter.com https://js.tito.io "
|
|
|
|
|
|
# TEST ENVIRONMENT VALUES
|
|
PETITION_TEST_CAMPAIGN_ID=
|
|
|
|
# Localization
|
|
LOCAL_PATH_TO_L10N_REPO=
|
|
|
|
# REVIEW APPS SLACK BOT
|
|
GITHUB_TOKEN=
|
|
SLACK_WEBHOOK_RA=
|
|
|
|
# BUYER'S GUIDE Configuration
|
|
PNI_STATS_DB_URL=
|
|
USE_COMMENTO=
|
|
|
|
# Sentry
|
|
SENTRY_DSN=
|
|
HEROKU_RELEASE_VERSION=
|
|
SENTRY_ENVIRONMENT=
|
|
|
|
# CDN configuration
|
|
STATIC_HOST=
|
|
|
|
# Tito event configuration
|
|
TITO_SECURITY_TOKEN=
|
|
TITO_NEWSLETTER_QUESTION_ID=
|