Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update env vars #3

Closed
elrayle opened this issue Apr 1, 2022 · 4 comments
Closed

update env vars #3

elrayle opened this issue Apr 1, 2022 · 4 comments

Comments

@elrayle
Copy link

elrayle commented Apr 1, 2022

New customization vars were added to the image. They need to be set for our app. The new env vars and our values for them are...

## --------------------
## QA_SERVER CUSTOMIZATIONS
## --------------------
PREFERRED_TIME_ZONE_NAME=Eastern Time (US & Canada)
DISPLAY_HISTORICAL_DATA=true
HISTORICAL_DATA_DEFAULT_TIME_PERIOD=:month
DISPLAY_PERFORMANCE_GRAPH=true
DISPLAY_PERFORMANCE_DATATABLE=false
PERFORMANCE_DATA_DEFAULT_TIME_PERIOD=:month
SUPPRESS_PERFORMANCE_LOGGING=false
MONITOR_STATUS_LOGGING_ENABLED=true

## --------------------
## QA CUSTOMIZATIONS
## --------------------
ENABLE_CORS_HEADERS=true
DEFAULT_LANGUAGE=:en
SUPPRESS_IP_DATA_FROM_LOG=false
@gdelisle
Copy link

gdelisle commented Apr 1, 2022

I agree that there's no reason why we can't include these with the public version of the app, since they're not secrets. They also all have defaults so there's no reason we must include them. Maybe we can supply the .env.example file with these variables filled in?

@elrayle
Copy link
Author

elrayle commented Apr 1, 2022

In LD4P/qa_server_aws_deploy, the .env.example file does have these new env vars with example values. This issue is for determining how to set these vars for cult-it/qa_server_aws_deploy.

@elrayle
Copy link
Author

elrayle commented Apr 13, 2022

For now, I manually update the -int .env file in the S3 bucket.

Questions:

  • do they get copied to the root of the application or are they picked up directly from S3?
  • will these automatically be picked up?
  • if not auto-picked up, what is the process? (e.g. manually run the -int deploy GH action, restart the server for the application, ???)

@elrayle elrayle moved this from To do to In progress in EB to ECS from container Apr 14, 2022
@elrayle elrayle self-assigned this Apr 14, 2022
@elrayle
Copy link
Author

elrayle commented Apr 14, 2022

Manual deploy for -stg and -prod are pending creation of S3 buckets with new consistent naming.

@elrayle elrayle moved this from In progress to BLOCKED in EB to ECS from container Apr 14, 2022
@elrayle elrayle moved this from BLOCKED to REQUIRED in EB to ECS from container Apr 14, 2022
@elrayle elrayle moved this from REQUIRED to BLOCKED in EB to ECS from container Apr 14, 2022
elrayle pushed a commit that referenced this issue Apr 22, 2022
@elrayle elrayle closed this as completed Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants