Skip to content

Add restart:always in docker-compose.yml#294

Merged
mr-c merged 1 commit intomainfrom
cure-patch-1
Dec 15, 2020
Merged

Add restart:always in docker-compose.yml#294
mr-c merged 1 commit intomainfrom
cure-patch-1

Conversation

@cure
Copy link
Contributor

@cure cure commented Dec 15, 2020

Make sure the docker containers defined in docker-compose.yml will be restarted automatically, e.g. after a docker daemon upgrade or restart.

Description

Motivation and Context

Without this change, the docker containers will not be restarted automatically when docker is restarted.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • [ x] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Make sure the docker containers defined in docker-compose.yml will be restarted automatically, e.g. after a docker daemon upgrade or restart.
@mr-c mr-c merged commit 19c552a into main Dec 15, 2020
@mr-c mr-c deleted the cure-patch-1 branch December 15, 2020 15:08
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.

2 participants