Sign inSign up

ianneub/standby

By ianneub

Updated about 11 years ago

Put up a quick standby / maintenance site

Image
0

2.1K

ianneub/standby repository overview

StandBy

Deploy to Tutum

This docker image can serve as a quick way to put up a web site maintenance page. Simply start the container and configure with environment variables. Then point your site (either by DNS or by changing your load balancer) to the maintenance container.

All page requests to the standby container will return 500 errors, except for the following url prefixes:

/css, /font-awesome, /fonts, /img, /js

Example

docker run -it --rm -p 80:80 -e 'PAGE_H1=Hello World!' ianneub/standby

Now you can access it by going to your container's IP:

http://192.168.59.103/

Variables

These variables are currently allowed:

VariableDescription
PAGE_TITLEThis will be placed in the HTML title tag.
PAGE_H1This will be placed in the h1 tag in the message on the center of the page
PAGE_H3This will be placed in the h3 tag in the message on the center of the page
PAGE_BG_IMG_SRCSet this to your desired background image, using the full URL

Pull requests

I'd love some pull requests!

Tag summary

Content type

Image

Digest

sha256:516d15887

Size

262.9 MB

Last updated

about 11 years ago

docker pull ianneub/standby