diff --git a/docker.js b/docker.js index f3e6c88..208462e 100644 --- a/docker.js +++ b/docker.js @@ -17,7 +17,10 @@ const createContainer = async (project, domain) => { AttachStdout: false, AttachStderr: false, HostConfig: { - NetworkMode: this._network + NetworkMode: this._network, + RestartPolicy: { + Name: 'unless-stopped' + } } }