Skip to content

Commit

Permalink
Add trailing slash to healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood authored Jan 11, 2024
1 parent 9bfd491 commit d8a31e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
### Changed

- Added trailing slash to healthcheck liveliness URI (`/healthcheck/live/`)

### Deprecated
### Removed
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion docker/tna-python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ EXPOSE 8080/tcp
# based on a GOV.UK proposal:
# https://github.com/alphagov/govuk-rfcs/blob/main/rfc-141-application-healthchecks.md
# ==========================================
HEALTHCHECK CMD curl --fail http://localhost:8080/healthcheck/live || exit 1
HEALTHCHECK CMD curl --fail http://localhost:8080/healthcheck/live/ || exit 1

# ==========================================
# The default environment type is production
Expand Down

0 comments on commit d8a31e1

Please sign in to comment.