mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 15:22:24 -05:00
h/t to @stvnrlly for the suggestions! Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
53 lines
1.5 KiB
Bash
53 lines
1.5 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
|