Files
notifications-api/sample.env

50 lines
1.5 KiB
Bash
Raw Normal View History

# ## REBUILD THE DEVCONTAINER WHEN YOU MODIFY .ENV ###
2022-06-29 08:47:36 -07:00
2022-06-13 14:50:22 -07:00
# Debug
DEBUG=True
ANTIVIRUS_ENABLED=0
NOTIFY_ENVIRONMENT=development
STATSD_HOST=localhost
SES_STUB_URL=None
NOTIFY_APP_NAME=api
NOTIFY_EMAIL_DOMAIN=dispostable.com
2022-06-29 08:47:36 -07:00
NOTIFY_LOG_PATH=/workspace/logs/app.log
2022-06-13 14:50:22 -07:00
# secrets that internal apps, such as the admin app or document download, must use to authenticate with the API
ADMIN_CLIENT_ID=notify-admin
2022-08-01 12:23:14 -07:00
ADMIN_CLIENT_SECRET=dev-notify-secret-key
2022-06-13 14:50:22 -07:00
GOVUK_ALERTS_CLIENT_ID=govuk-alerts
# Flask
FLASK_APP=application.py
FLASK_ENV=development
WERKZEUG_DEBUG_PIN=off
SECRET_KEY=dev-notify-secret-key
DANGEROUS_SALT=dev-notify-salt
2022-08-01 12:23:14 -07:00
# URL of admin app, this is overriden on cloudfoundry
ADMIN_BASE_URL=http://admin:6012
2022-06-13 14:50:22 -07:00
2022-08-01 12:23:14 -07:00
# URL of api app, this is overriden on cloudfoundry
API_HOST_NAME=http://dev:6011
2022-06-13 14:50:22 -07:00
2022-08-01 12:23:14 -07:00
# URL of redis instance, this is overriden on cloudfoundry
2022-06-13 14:50:22 -07:00
REDIS_URL=redis://redis:6380
REDIS_ENABLED=1
2022-08-05 09:14:58 -07:00
# DB connection string for local docker, overriden on remote with vcap env vars
2022-08-02 16:06:12 -07:00
SQLALCHEMY_DATABASE_URI=postgresql://postgres:chummy@db:5432/notification_api
2022-08-05 09:14:58 -07:00
# For testing in local docker
SQLALCHEMY_DATABASE_TEST_URI=postgresql://postgres:chummy@db:5432/test_notification_api
# DB connection string for local non-docker connection
# SQLALCHEMY_DATABASE_URI=postgresql://user:password@localhost:5432/notification_api
2022-08-02 16:06:12 -07:00
2022-06-13 14:50:22 -07:00
# AWS
AWS_REGION=us-west-2
2022-08-01 12:23:14 -07:00
AWS_ACCESS_KEY_ID="don't write secrets to the sample file"
AWS_SECRET_ACCESS_KEY="don't write secrets to the sample file"
AWS_PINPOINT_REGION=us-west-2
2022-09-28 16:27:37 -04:00
AWS_US_TOLL_FREE_NUMBER=+18446120782