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

HOTT-4446: Adds HEALTHCHECK #745

Merged
merged 2 commits into from Jan 5, 2024
Merged

HOTT-4446: Adds HEALTHCHECK #745

merged 2 commits into from Jan 5, 2024

Conversation

willfish
Copy link
Member

@willfish willfish commented Jan 5, 2024

Jira link

https://transformuk.atlassian.net/browse/HOTT-4446

What?

ECS healthchecks are managed separately:

https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html

I have added/removed/altered:

  • Added HEALTHCHECK to Dockerfile
  • Make Dockerfile run locally with minimum-required configuration

Why?

I am doing this because:

  • This is remediation work from our pentest report

@willfish willfish changed the title HOTT-4446: Pentest remediation work HOTT-4446: Adds HEALTHCHECK Jan 5, 2024
@@ -32,7 +32,7 @@

# Assume all access to the app is happening through a SSL-terminating reverse proxy.
# Can be used together with config.force_ssl for Strict-Transport-Security and secure cookies.
config.assume_ssl = true
config.assume_ssl = ENV.fetch('RAILS_ASSUME_SSL', "true") == "true"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to assume reverse proxy that terminates SSL when running locally

@willfish willfish merged commit a2af782 into main Jan 5, 2024
15 checks passed
@willfish willfish deleted the HOTT-4446-pentest-remediation branch January 5, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants