mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-08 14:12:27 -05:00
56 lines
1.9 KiB
Bash
56 lines
1.9 KiB
Bash
# See README.md for local setup instructions
|
|
|
|
# ## REBUILD THE DEVCONTAINER WHEN YOU MODIFY .ENV ###
|
|
|
|
#############################################################
|
|
|
|
# AWS
|
|
AWS_US_TOLL_FREE_NUMBER=+18556438890
|
|
|
|
#############################################################
|
|
|
|
# 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
|
|
# SQLALCHEMY_DATABASE_TEST_URI=postgresql://postgres:chummy@db:5432/test_notification_api
|
|
|
|
|
|
# If you want to do local development with localstack copy this to your .env file and uncomment it
|
|
# LOCALSTACK_ENDPOINT_URL=http://localhost:4566
|
|
|
|
# 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
|
|
SQLALCHEMY_DATABASE_TEST_URI=postgresql://localhost:5432/test_notification_api
|
|
|
|
#############################################################
|
|
|
|
# Debug
|
|
DEBUG=True
|
|
ANTIVIRUS_ENABLED=0
|
|
REDIS_ENABLED=1
|
|
NOTIFY_ENVIRONMENT=development
|
|
SES_STUB_URL=None
|
|
NOTIFY_APP_NAME=api
|
|
|
|
#############################################################
|
|
|
|
# E2E Testing
|
|
|
|
NOTIFY_E2E_TEST_EMAIL=example@fake.gov
|
|
NOTIFY_E2E_TEST_PASSWORD="don't write secrets to the sample file"
|
|
|
|
#############################################################
|
|
|
|
# Flask
|
|
FLASK_APP=application.py
|
|
FLASK_DEBUG=true
|
|
WERKZEUG_DEBUG_PIN=off
|
|
|
|
|
|
LOGIN_DOT_GOV_REGISTRATION_URL="https://idp.int.identitysandbox.gov/openid_connect/authorize?acr_values=http%3A%2F%2Fidmanagement.gov%2Fns%2Fassurance%2Fial%2F1&client_id=urn:gov:gsa:openidconnect.profiles:sp:sso:gsa:test_notify_gov&nonce=NONCE&prompt=select_account&redirect_uri=http://localhost:6012/set-up-your-profile&response_type=code&scope=openid+email&state=STATE"
|