Sign inSign up

thesuhu/docker-maintenance-page

By thesuhu

Updated over 3 years ago

Simple maintenance page for your site.

Image
Web servers
0

401

thesuhu/docker-maintenance-page repository overview

docker-maintenance-page

GitHub workflow Docker pull

Simple maintenance page for your site.

Usage

Below is example to run container, replace the environments with yours:

docker run -dit \
-p 8080:8080 \
--restart always \
--name maintenance \
--env TITLE="Oops!" \
--env HEADING_TITLE="We\’ll be back soon!" \
--env [email protected] \
--env MESSAGE="Sorry for the inconvenience but we\&rsquo;re performing some maintenance at the moment. If you need to you can always <a href=\"mailto:{{mail}}\">contact us<\/a>, otherwise we\&rsquo;ll be back online shortly!" \
--env TEAM_NAME="Dev Teams" \
--env PORT=8080 \
--env RESPONSE_CODE="503 Service Unavailable" \
--env THEME=dark \
thesuhu/docker-maintenance-page:latest

You can also build the Docker image yourself:

docker build -t docker-maintenance-page .

Tag summary

Content type

Image

Digest

sha256:77aef63c4

Size

3.2 MB

Last updated

over 3 years ago

docker pull thesuhu/docker-maintenance-page