Skip to content

Use restart_policy for container services#622

Merged
greenbonebot merged 1 commit intomainfrom
container-restart-policy
Mar 30, 2026
Merged

Use restart_policy for container services#622
greenbonebot merged 1 commit intomainfrom
container-restart-policy

Conversation

@bjoernricks
Copy link
Copy Markdown
Contributor

What

Use restart_policy for container services

Why

Use the more flexible deploy section to set the restart policy of the container services and restart all required services if the host is restarted. Before a user had to manually run compose up to restart all services after a docker host restart.

Checklist

@bjoernricks bjoernricks requested a review from a team as a code owner March 30, 2026 07:42
@greenbonebot greenbonebot enabled auto-merge (rebase) March 30, 2026 07:42
@bjoernricks bjoernricks force-pushed the container-restart-policy branch from c8749d1 to e0ac81e Compare March 30, 2026 07:43
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 30, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA e788f07.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Use the more flexible `deploy` section to set the restart policy of the
container services and restart all required services if the host is
restarted. Before a user had to manually run compose up to restart all
services after a docker host restart.
@bjoernricks bjoernricks force-pushed the container-restart-policy branch from 1a594a6 to e788f07 Compare March 30, 2026 09:00
@greenbonebot greenbonebot merged commit 4c6050d into main Mar 30, 2026
4 checks passed
@greenbonebot greenbonebot deleted the container-restart-policy branch March 30, 2026 09:01
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.

4 participants