这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@assaf
Copy link
Contributor

@assaf assaf commented Apr 29, 2014

This change makes Dokku start up the new container, run a set of checks
against it, and only switch traffic over to the new containers if all
checks complete successfully. No requests are dropped during the switch
over.

To specify checks, add a CHECKS file to the root of your project
directory. This is a text file with one line per check. Empty lines and
lines starting with # are ignored.

A check is a relative URL and may be followed by expected content from
the page, for example:

/about     Our Amazing Team

Even if you don’t use any checks, this change will prevent downtime
during switching from old to new container.

Thanks to https://github.com/michaelshobbs for simplifying the process by grabbing checks from the project directory.

See: https://labnotes.org/zero-downtime-deploy-with-dokku/

This change makes Dokku start up the new container, run a set of checks
against it, and only switch traffic over to the new containers if all
checks complete successfully. No requests are dropped during the switch
over.

To specify checks, add a CHECKS file to the root of your project
directory. This is a text file with one line per check. Empty lines and
lines starting with # are ignored.

A check is a relative URL and may be followed by expected content from
the page, for example:

  /about     Our Amazing Team

Even if you don’t use any checks, this change will prevent downtime
during switching from old to new container.

See: https://labnotes.org/zero-downtime-deploy-with-dokku/
@michaelshobbs
Copy link
Member

👍

@progrium
Copy link
Contributor

Huh, pretty cool.

@ruudud
Copy link

ruudud commented May 28, 2014

Looking good, simple and pragmatic!

What's stopping this from getting merged?

@elia
Copy link
Contributor

elia commented May 28, 2014

👌

@AlJohri
Copy link
Contributor

AlJohri commented May 28, 2014

👍

1 similar comment
@fkowal
Copy link

fkowal commented May 29, 2014

👍

@maccman
Copy link

maccman commented May 30, 2014

+1

@fkowal
Copy link

fkowal commented Jun 1, 2014

Thia works great just what i Needed for gradle/Java to work without downtime. Thanks

@Zenedith
Copy link

Zenedith commented Jun 1, 2014

👍

@maccman
Copy link

maccman commented Jun 6, 2014

Ping @asm89 @rhy-jot

@RyanBalfanz
Copy link

(thumbsup)

@adamtwiss
Copy link

I've been using this successfully Works great. Would love to see this merged in.

@dmil
Copy link

dmil commented Jun 29, 2014

+1

@michaelshobbs
Copy link
Member

@rhy-jot @progrium can we get this reviewed and, hopefully, merged?

@cbetta
Copy link

cbetta commented Aug 5, 2014

👍

@jlachowski
Copy link
Contributor

Any idea when it will end up in the main branch?

@maccman
Copy link

maccman commented Aug 12, 2014

I've ended up using dokku-alt - seems to be getting a bit more attention
right now.

https://github.com/dokku-alt/dokku-alt

On Tue, Aug 12, 2014 at 1:41 AM, jlachowski notifications@github.com
wrote:

Any idea when it will end up in the main branch?


Reply to this email directly or view it on GitHub
#562 (comment).

Alex MacCaw

+1.415.624.7665
@maccaw

http://alexmaccaw.com

@elia
Copy link
Contributor

elia commented Aug 13, 2014

@maccman thanks for the link

@jipiboily
Copy link

Any chance this will get reviewed or rejected any time soon? Until then, dokku-alt seems interesting, at first.

@progrium
Copy link
Contributor

Oh man, okay, I'm going to have to come back and push some of these through.

progrium added a commit that referenced this pull request Aug 19, 2014
Zero down-time deploy and server checks
@progrium progrium merged commit 07cdab6 into dokku:master Aug 19, 2014
@jipiboily
Copy link

❤️

@JMSwag
Copy link

JMSwag commented Aug 19, 2014

👏 thank you sir @progrium

@matthewmueller
Copy link

is this available on digital ocean? ie. v0.2.3?

@jipiboily
Copy link

Nope, 0.2.3 was released in April (as seen in the tags) and this was merged in August.

@josegonzalez
Copy link
Member

This was released.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.