Skip to content

Commit

Permalink
Merge pull request #115 from FlowFuse/114-unless-stopped
Browse files Browse the repository at this point in the history
Add "unless-stopped" flag to Instance containers
  • Loading branch information
Steve-Mcl authored Oct 29, 2024
2 parents e2300c3 + dd635aa commit 32a4e48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ const createContainer = async (project, domain) => {
AttachStdout: false,
AttachStderr: false,
HostConfig: {
NetworkMode: this._network
NetworkMode: this._network,
RestartPolicy: {
Name: 'unless-stopped'
}
}
}

Expand Down

0 comments on commit 32a4e48

Please sign in to comment.