Maintenance page while docker takes time to rebuilt

AI-generated summary

The discussion revolves around displaying a maintenance page during Docker rebuilds for a Discourse instance on an Ubuntu 22.04 server. djnoah asks about a sleek way to show a splash page while the Docker container rebuilds, noting that the current process shuts down the running container. Moin shares a guide for adding an offline page, while merefield advises using the Upgrade page in the admin panel to minimize downtime. pfaffman suggests using Nginx as a reverse proxy to display a maintenance page if Discourse is down, and also proposes a two-container setup to reduce downtime to just a minute during upgrades. djnoah thanks the community for the helpful insights.

Hi there,
Is there a slick way to get a maintenance splash page in place while the docker is rebuilding?
The host is an ubuntu 22.04 server ?
Should I just install nginx and splash a page that way.
I wish the discourse docker could still be running while the rebuild process is occuring. But I see that it rips down the current docker closer to the start of the build process.
Cheers

You rarely need to upgrade from the terminal. Use the Upgrade page (Admin → Upgrade) and there is virtually zero downtime.

For the rare occasions when you need to upgrade from the terminal, see @Moin 's link

Thank you for all the great information. Our team is really enjoying discourse. Kudos to all the developers that contributed to this project.

If that’s something you can “just” do, then you can set up that nginx as a reverse proxy that will display the splash page if discourse is down.

You can do a two container install that does just that. This gives you downtime of just a minute while the new container starts up.

Which way is “easier” is a matter of opinion.