sample env

This commit is contained in:
jimmoffet
2022-08-05 09:14:58 -07:00
parent 03679453a0
commit 9f8ed4e3fc
2 changed files with 7 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ permissions:
env: env:
DEBUG: True DEBUG: True
ANTIVIRUS_ENABLED: 0 ANTIVIRUS_ENABLED: 0
NOTIFY_ENVIRONMENT: development NOTIFY_ENVIRONMENT: test
NOTIFICATION_QUEUE_PREFIX: local_dev_10x NOTIFICATION_QUEUE_PREFIX: local_dev_10x
STATSD_HOST: localhost STATSD_HOST: localhost
SES_STUB_URL: None SES_STUB_URL: None
@@ -25,8 +25,6 @@ env:
API_HOST_NAME: http://localhost:6011 API_HOST_NAME: http://localhost:6011
REDIS_URL: redis://localhost:6380 REDIS_URL: redis://localhost:6380
REDIS_ENABLED: False REDIS_ENABLED: False
SQLALCHEMY_DATABASE_URI: postgresql://postgres:chummy@db:5432/notification_api
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
AWS_REGION: us-west-2 AWS_REGION: us-west-2
AWS_PINPOINT_REGION: us-west-2 AWS_PINPOINT_REGION: us-west-2
AWS_US_TOLL_FREE_NUMBER: +18446120782 AWS_US_TOLL_FREE_NUMBER: +18446120782

View File

@@ -33,11 +33,14 @@ API_HOST_NAME=http://dev:6011
REDIS_URL=redis://redis:6380 REDIS_URL=redis://redis:6380
REDIS_ENABLED=1 REDIS_ENABLED=1
# DB conection string for local docker, overriden on remote with vcap env vars # DB connection string for local docker, overriden on remote with vcap env vars
SQLALCHEMY_DATABASE_URI=postgresql://postgres:chummy@db:5432/notification_api SQLALCHEMY_DATABASE_URI=postgresql://postgres:chummy@db:5432/notification_api
# For GH actions CI workflow # For testing in local docker
SQLALCHEMY_DATABASE_TEST_URI=postgresql://user:password@localhost:5432/test_notification_api 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
# AWS # AWS
AWS_REGION=us-west-2 AWS_REGION=us-west-2