Skip to content
A simple Docker image to display the message "Under maintenance"
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main
.gitignore
Dockerfile
Dockerrun.aws.json
LICENSE
README.md
build.gradle
docker.gradle

README.md

Docker Image for Maintenance Page

What is this

Sometimes you just need a generic maintenance message while you are replacing one Docker image with another. Or you just want to undeploy a docker from AWS Elastic Beanstalk and this seems to be not possible.

To solve this kind of problem we created a generic Docker Maintenance page.

How to use it

To test locally

  • Install Docker
  • Run $ sudo docker run -p 80:5000 terahorse/maintenance
  • Access http://localhost
  • If you want to customize the message just add -e parameter, like this:
    • $ sudo docker run -p 80:5000 -e MESSAGE="My custom maintenance message" terahorse/maintenance

To deploy on AWS using Elasic Beanstalk

  • Just copy the file Dockerrun.aws.json to your repository and run eb cli tool.
You can’t perform that action at this time.