Files
notifications-api/sample.env

64 lines
1.9 KiB
Bash
Raw Normal View History

2022-10-20 14:05:54 -04:00
# STEPS TO SET UP
2022-10-31 13:25:59 -04:00
#
2022-10-20 14:05:54 -04:00
# 1. Pull down AWS creds from cloud.gov using `cf env`, then update AWS section
2022-10-31 13:25:59 -04:00
#
2023-03-07 09:56:12 -05:00
# 2. Update NEW_RELIC_LICENSE_KEY
2022-10-20 14:05:54 -04:00
#
2023-03-07 09:56:12 -05:00
# 3. Uncomment either the Docker setup or the direct setup
2022-10-31 13:25:59 -04:00
#
2023-03-07 09:56:12 -05:00
# 4. Comment out the other setup
2022-10-20 14:05:54 -04:00
#
2023-03-07 09:56:12 -05:00
# 5. If needed, set `NOTIFY_EMAIL_DOMAIN` with the domain your emails will come from (i.e. the "origination email" in your SES project)
2022-10-20 14:05:54 -04:00
#
# ## REBUILD THE DEVCONTAINER WHEN YOU MODIFY .ENV ###
2022-06-29 08:47:36 -07:00
2022-10-20 14:05:54 -04:00
#############################################################
# AWS
AWS_ACCESS_KEY_ID="don't write secrets to the sample file"
AWS_SECRET_ACCESS_KEY="don't write secrets to the sample file"
2022-10-31 13:25:59 -04:00
AWS_REGION=us-west-2
2022-10-20 14:05:54 -04:00
AWS_US_TOLL_FREE_NUMBER=+18446120782
#############################################################
# Local Docker setup, all overwritten in cloud.gov
ADMIN_BASE_URL=http://admin:6012
API_HOST_NAME=http://dev:6011
REDIS_URL=redis://redis:6380
DATABASE_URL=postgresql://postgres:chummy@db:5432/notification_api
2022-10-20 14:05:54 -04:00
SQLALCHEMY_DATABASE_TEST_URI=postgresql://postgres:chummy@db:5432/test_notification_api
# Local direct setup, all overwritten in cloud.gov
# ADMIN_BASE_URL=http://localhost:6012
# API_HOST_NAME=http://localhost:6011
# REDIS_URL=redis://localhost:6379
# DATABASE_URL=postgresql://localhost:5432/notification_api
2022-10-20 14:05:54 -04:00
# SQLALCHEMY_DATABASE_TEST_URI=postgresql://localhost:5432/test_notification_api
#############################################################
2022-06-13 14:50:22 -07:00
# Debug
DEBUG=True
ANTIVIRUS_ENABLED=0
2022-10-31 13:25:59 -04:00
REDIS_ENABLED=1
2022-06-13 14:50:22 -07:00
NOTIFY_ENVIRONMENT=development
STATSD_HOST=localhost
SES_STUB_URL=None
NOTIFY_APP_NAME=api
# NOTIFY_EMAIL_DOMAIN=notify.sandbox.10x.gsa.gov
2022-06-13 14:50:22 -07:00
2022-10-20 14:05:54 -04:00
#############################################################
2022-06-13 14:50:22 -07:00
# Flask
FLASK_APP=application.py
2023-02-09 13:44:41 -05:00
FLASK_DEBUG=true
2022-06-13 14:50:22 -07:00
WERKZEUG_DEBUG_PIN=off
#############################################################
# New Relic
NEW_RELIC_CONFIG_FILE=newrelic.ini
2023-01-18 10:49:39 -05:00
NEW_RELIC_LICENSE_KEY="don't write secrets to the sample file"