Skip to content

Set restart policy of webserver to "always"#871

Merged
trey-stafford merged 1 commit into
mainfrom
fix-webserver-always-up-on-reboot
Apr 30, 2026
Merged

Set restart policy of webserver to "always"#871
trey-stafford merged 1 commit into
mainfrom
fix-webserver-always-up-on-reboot

Conversation

@trey-stafford

Copy link
Copy Markdown
Contributor

Description

Ensures that the service will come back after a VM reboot, which we expect to happen frequently as part of security updates applied by SAs at NSIDC.

Resolves https://github.com/nsidc/qgreenland-vm/issues/3

Checklist

If an item on this list is done or not needed, check it with [x] or click the
checkbox.

  • The PR description links to issues that it resolves with closes #{issue_number}
  • Config lockfile updated (inv config.export > qgreenland/config/cfg-lock.json)
  • Environment lockfile updated if needed (conda-lock)
  • Version bumped if needed (bumpversion (major|minor|patch|prerelease|build))
  • CHANGELOG.md updated (for user-facing changes)
  • Documentation updated if needed
  • New unit tests if needed

Ensures that the service will come back after a VM reboot, which we expect to
happen frequently as part of security updates applied by SAs at NSIDC.
@trey-stafford trey-stafford marked this pull request as ready for review April 30, 2026 21:49
@trey-stafford trey-stafford requested a review from rmarow April 30, 2026 21:50

@rmarow rmarow left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

approving! We tested on Dev!

@trey-stafford trey-stafford merged commit 331b3b4 into main Apr 30, 2026
2 checks passed
@trey-stafford trey-stafford deleted the fix-webserver-always-up-on-reboot branch April 30, 2026 21:51
@mfisher87

Copy link
Copy Markdown
Collaborator

@trey-stafford @rmarow You may want to consider "unless-stopped". "always" will restart the container even if you manually do docker compose down, which I think is not what you want. "unless-stopped" won't do that, but will restart the container when the engine or host are shutdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants